.section-header {
  padding: 0px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 0;
}

/* ================== News Container ================== */
/* .news-container {
  display: flex;
  flex-wrap: nowrap;   
  align-items: stretch; 
  gap: 20px;
} */
 .news-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  margin: 0 auto;        /* center align */
  padding: 0;
  max-width: 1800px;     /* large screens par limit */
}

/* Main news */
.main-news {
  /* flex: 1; */
  position: relative;
  min-width: 300px;
  display: flex;
  flex-direction: column; 
}

/* Featured news */
/* .featured-news {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
} */
.featured-news {
  

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  padding-top: 78px;
}

/* ===== Main News Block ===== */
.view-news-insights .views-row {
  position: relative;
 
  overflow: hidden;

}

/* Image Wrapper */
.view-news-insights .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.view-news-insights .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Dark Overlay */
.view-news-insights .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  border-radius: 16px;
  z-index: 1;
}

/* Text Overlay */
.view-news-insights .news-text {
  position: absolute;
  bottom: 30px;
  left: 18px;
  padding: 20px;
  z-index: 2;
  color: #fff;
}

.view-news-insights .news-text h3.news-insights-h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 34px;
    color: #fff;
    /* word-break: break-word; */
    max-width: 625px;
}

.view-news-insights .news-text p.news-insights-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    /* margin-bottom: 12px; */
    max-width: 608px;
}

/* Meta info (Date & Author) */
.meta {
  font-size: 14px;
  color: #777;
}

.news-insights .meta span.span-1 {
    border: 1px solid #E1FAFF8C;
    border-radius: 20px;
    padding: 10px;
    color: #ffffff;
    font-family: 'Rota';
    
}
.news-insights .meta span.span-2 {
    border: 1px solid #E1FAFF8C;
    border-radius: 20px;
    padding: 10px;
    color: #ffffff;
    font-family: 'Rota';
    
}

.blog-content .meta span.span-3 {
    background-color: #E5F2F4;
    border: 1px solid #E1FAFF8C;
    border-radius: 20px;
    padding: 10px;
    color: #2C464C;
    font-family: 'Rota';
    font-weight: 600;
    font-style: SemiBold;
    line-height: 24px;
    letter-spacing: 0%;
}

.blog-content .meta span.span-4 {
    background-color: #E5F2F4;
    border: 1px solid #E1FAFF8C;
    border-radius: 20px;
    padding: 10px;
    color: #2C464C;
    font-family: 'Rota';
    font-weight: 600;
    font-style: SemiBold;
    line-height: 24px;
    letter-spacing: 0%;
}

/* ================== Blog Grid ================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
  padding: 20px;
}

.blog-card {
  background: #F8F9F9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  width: 100%;     
  max-width: 426px;
  height: auto;    
}

.blog-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  padding: 24px; 
  border-radius: 8px 8px 0 0;
}

.blog-content {
  padding: 15px;
}

.blog-content h3 {
  font-family: 'Rota';
  font-weight: 700;
  line-height: 140%;
  color: #20353A;
}

.blog-content h3 a {
  text-decoration: none;
  color: #20353A;
}

.blog-content p {
  font-family: 'Rota';
  font-weight: 600;
  color: #AAAAAA;
  line-height: 24px;
}

/* ================== Recent Blog ================== */
.recent-blog div#blog_main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 15px;
}

.recent-blog div#blog_main > * {
    max-width: 50%;
    flex: 1 1 calc(33.333% - 20px);
}

.blog-card {
  width: 100%;        
  max-width: 100%;   
  margin: 0;          
}
.recent-blog .section-header {
    padding-top: 37px;
}
.featured-news .section-header h2 {
    font-size: 28px;
    font-weight: bold;
    /* margin: 10px 0 20px; */
    /* padding-top: 6rem; */
}
input#edit-submit-news-insights {
    display: none;
}
.js-form-item.form-item.js-form-type-select.form-item-field-medical-device-target-id.js-form-item-field-medical-device-target-id.form-no-label {
    
    height: 40px;
}
select#edit-field-medical-device-target-id {
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    padding-top: 8px;
    padding-left: 16px;
    font-family: 'Rota';
}
.featured-news .js-view-dom-id-ff0b8f28e76a7f8942e4ba18e38fc6b75eaea4b46d6c6501e1efbee76db32bdf {
    margin-top: -14px;
}
form#views-exposed-form-news-insights-page-1 {
    /* padding-left: 200px; */
    display: flex;
    justify-content: end;
}
form#views-exposed-form-news-recent-blog-block-1{
   float: right;
position: relative;

}
input#edit-submit-news-recent-blog--2 {
    display: none;
}
select#edit-field-medical-device-target-id--2 {
    background: #F2F8FA;
    color: #4E7982;
    border: 1px solid #809499;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    height: 40px;
    margin-top: 8px;
    width: 220px;
    /* position: relative; */
}
.node-32 form#views-exposed-form-news-recent-blog-block-1::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 31px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 18px;
    color: #555;
}
/* ================== Media Queries ================== */
@media screen and (min-width: 2048px) {
  .news-container {
    max-width: 1600px;  /* aur compact kar do */
  }
}

@media (max-width: 1024px) {
  .news-text .news-insights-h3 {
    font-size: 1.5rem;
  }
  .recent-blog-title {
    font-size: 1.6rem;
  }
   .news-text .news-insights-h3 {
        font-size: 2rem; /* ~32px */
        width: 100%; /* ensure container me fit ho */
    }
}

@media (max-width: 992px) {
  .recent-blog div#blog_main {
    flex-wrap: wrap;  
  }
  .recent-blog div#blog_main > * {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .news-container {
    flex-direction: column;
  }
  .news-text {
    bottom: 5%;
    left: 5%;
  }
   form#views-exposed-form-news-insights-page-1 {
    padding-left: 20px;
  }
    .news-text .news-insights-h3 {
        font-size: 1.5rem; /* ~24px */
        width: 100%;
    }
}

@media (max-width: 480px) {
  .news-text .news-insights-h3 {
    font-size: 1.2rem;
  }
  .news-text .news-insights-text {
    font-size: 0.9rem;
  }
  .recent-blog-title {
    font-size: 1.4rem;
  }
  .recent-blog-insight-description {
    font-size: 1rem;
  }
   .news-text .news-insights-h3 {
        font-size: 1.2rem; /* ~19px */
        width: 100%;
    }
}
