/* Filter */
.bcsara-news-filter-wrap {
  position: relative;
}
.bcsara-news-filter {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  padding: 6px 42px 6px 12px !important;
  border-radius: 4px;
  border: 1px solid #ced4da;
  background: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-bottom: 32px;
}
.bcsara-news-filter-wrap::before {
  content: "";
  background-image: url(/wp-content/uploads/2025/09/Caret-Down.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Grid */
.bcsara-news-block {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}
.bcsara-news-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.bcsara-news-heading {
  font-family: "Poppins", sans-serif;
  color: #1d608a;
  margin: 0 0 24px 0 !important;
}
a.bcsara-news-viewall {
  color: #666666;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  margin-right: 20px;
  height: fit-content;
  width: 100%;
  max-width: fit-content;
}
a.bcsara-news-viewall:hover {
  text-decoration: underline;
}
.bcsara-news-viewall::before {
  content: "";
  background-image: url(/wp-content/uploads/2025/09/Arrow-Right-Grey.svg);
  position: absolute;
  right: -20px;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: cover;
}
ul.bcsara-news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
}
li.bcsara-news-item {
  width: calc(50% - 12px);
  border: 1px solid #00000026;
  border-radius: 8px;
  overflow: hidden;
}
a.bcsara-news-link {
  display: flex;
  align-items: center;
  min-height: 152px;
}
.bcsara-news-media {
  width: 100%;
  max-width: 192px;
  aspect-ratio: 192 / 152;
}
.bcsara-news-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block !important;
}
.bcsara-news-body {
  padding: 16px 16px 16px 24px;
}
h3.bcsara-news-title {
  font-family: "Poppins", sans-serif;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 125% !important;
  color: #0b1304;
  margin: 0;
}
.bcsara-news-date {
  font-family: "Poppins", sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 125% !important;
  color: #666666;
}

/* Pagination */
nav.bcsara-news-pagination {
  margin-top: 32px;
}
nav.bcsara-news-pagination a {
  color: #222222;
  text-align: center;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 600;
  padding: 8px;
  border-bottom: 2px solid transparent;
  display: inline-block;
  margin-bottom: 12px;
}
nav.bcsara-news-pagination a:hover,
nav.bcsara-news-pagination a.is-active {
  color: #1d608a;
  border-color: #1d608a;
}

/* Responsiveness */
@media (max-width: 767px) {
  .bcsara-news-block {
    padding: 32px 16px;
  }
  a.bcsara-news-link {
    min-height: 96px;
  }
  .bcsara-news-media {
    max-width: 96px;
    aspect-ratio: 1;
  }
}

@media (max-width: 999px) {
  li.bcsara-news-item {
    width: 100%;
  }
}

@media (min-width: 2561px) {
  li.bcsara-news-item {
    width: calc(25% - 12px);
  }
}
