.media-recognition-section{
padding: 20px;
width: 100%;
opacity: 1;
background: #F6ECE4;
justify-items: center;
position: relative;

 text-align: center; /* center h2 horizontally */
  background: #F6ECE4;
  /* padding: 20px; */
  width: 100%;
  height: auto;
  padding-bottom:50px;
}
.media-recognition-section h2 {
  position: relative;
  display: inline-block; /* keeps lines aligned closely to text */
  font-family: 'Denton Test';
  font-weight: 420;
  font-style: normal;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  /* text-align: center; */
  color: #000;
  background: #F6ECE4;
  margin: 40px auto;
}



.media-recognition-section h2::before,
.media-recognition-section h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  border-bottom: 2px solid #70724F; /* black for visibility */
  transform: translateY(-50%);
}

.media-recognition-section h2::before {
  left: -120px; /* spacing from text */
}

.media-recognition-section h2::after {
  right: -120px;
}

.explore-media-btn{
 width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  background: #A07644;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 150px;
  font-family: 'Alice';
font-style:normal;
font-size: 16px;
line-height: 20px;
letter-spacing: 1%;
text-align: center;
}


.media-logos-cover {
  display: flex; justify-content: center;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap:50px;
  padding: 16px;
  width:100%;
  white-space: nowrap;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Hide scrollbar */
.media-logos-cover::-webkit-scrollbar {
  display: none;
}
.media-logos-cover a {
  width: 220px;
  height: 120px;
  background: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius:10px;
  flex-shrink: 0;
  border:1px solid #c5aa89; overflow:hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: .3s ease-in-out;
}
.media-logos-cover a img {
  width: 220px;
  height: 120px;
  object-fit:cover;
}

.media-logos-cover a:hover {
  transform: scale(1.05);
}

@media(max-width:992px){
  .media-recognition-section h2 { font-size:36px; }
  .media-recognition-section h2::before, .media-recognition-section h2::after { width:80px; }
  .media-recognition-section h2::before { left:-100px; }
  .media-recognition-section h2::after { right:-100px; }
}

/* Mobile responsive: screens up to 768px */
@media screen and (max-width: 768px) {
  .media-recognition-section {
    padding: 20px 10px;
    text-align: center;
  }
  .media-recognition-section h2 {
    font-size: 28px; 
    margin: 20px auto;
  }
  .media-recognition-section h2::before,
  .media-recognition-section h2::after {
    width: 60px;           
    border-bottom: 1.5px solid #70724F;
  }
  .explore-media-btn {
    width: 120px;
    height: 40px;
    font-size: 14px;
  }
  .media-logos-cover { gap:20px; flex-wrap: wrap; }
  .media-logos-cover a {
    width:160px;
    height:100px;
  }
  .media-logos-cover a img { width:160px; height:100px; }
  .media-recognition-section h2::before { left:-70px; }
  .media-recognition-section h2::after { right:-70px; }
}

@media(max-width:575px){
  .media-logos-cover { gap:15px; }
  .media-logos-cover a { height:80px; }
  .media-logos-cover a img { width:120px; height:80px; }
}

/* Very small screens: <480px */
@media screen and (max-width: 480px) {
  .media-recognition-section h2 {
    font-size: 24px;
  }
  .media-recognition-section h2::before,
  .media-recognition-section h2::after {
    width: 30px;
    border-bottom: 1px solid #70724F;
  }
  .media-recognition-section h2::before { left:-40px; }
  .media-recognition-section h2::after { right:-40px; }
  .explore-media-btn { width: 100px; height: 36px; font-size: 12px; }
}





