:root {
  --font-family: 'Montserrat'; /* Replace with your desired font family */
  --border-radius: 1.5625rem;
  --offset-top: -1.5625rem;
}

.news-list-section {
  padding: 2.5rem 0 calc(2.5rem - var(--offset-top)) 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  background: #e4e4e4;
  margin-top: var(--offset-top);
  margin-bottom: 1.5625rem;
  position: relative;
  z-index: 2;
}

.news-list-section .container {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.news-list-filter-tabs {
  display: flex;
  gap: 0.94rem;
  padding: 0.22rem;
  border-radius: 2.5rem;
  border: 1px solid #000;
}

.filter-tab {
  cursor: pointer;
  color: #000;
  font-family: var(--font-family);
  font-size: 0.5625rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  background-color: transparent;
  padding: 0.31rem 0.94rem;
}

.filter-tab-active,
.filter-tab:hover {
  border-radius: 2.5rem;
  background: #fff100;
  color: #000;
  font-family: var(--font-family);
  font-weight: 700;
  transition: all 0.3s ease;
}

.news-list-grid {
  margin-top: 1.87rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media screen and (max-width: 552px) {
  .news-list-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.no-data {
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-list-card {
  background-color: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-list-card:hover .news-list-title,
.news-list-card:hover .news-list-date {
  color: #7b57ff;
  transition: all 0.3s ease;
}

.news-list-card:hover .news-list-description {
    color: #7b57ff;
    transition: all 0.3s 
ease;
}

.news-list-image img {
  width: 100%;
  display: inline-block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.59941rem;
}

.news-list-content {
}

.news-list-title {
  color: #000;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 0.9375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  margin: 0.28rem 0 0.31rem;
}

.news-list-description {
  color: #000;
  font-family: var(--font-family);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-break: break-word;
  margin-bottom: 0.31rem;
}

.news-list-date {
  color: #000;
  font-family: var(--font-family);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.news-list-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* 32px -> 1rem */
  margin-top: 3rem; /* 64px -> 2rem */
}

#pagesize {
  margin: 0 !important;
}

#pagesize ul li a {
  display: flex !important;
  width: 1rem !important;
  height: 1rem !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  color: #000;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: none;
  background-color: transparent;
  font-weight: 700;
  font-size: 0.5625rem;
  text-transform: capitalize;
}

#pagesize ul li:nth-of-type(1) a {
  background: transparent !important;
  border: none;
  width: auto !important;
  color:var(--color-primary) !important;
  box-shadow: none !important;
}

#pagesize ul li:nth-last-of-type(1) a {
  background: transparent !important;
  border: none;
  width: auto !important;
  color:var(--color-primary) !important;
  box-shadow: none !important;
}

#pagesize ul li .disabled {
  color: #666 !important;
}
#pagesize ul {
  gap: 0.375rem !important;
}

#pagesize ul li:nth-child(1) {
  display: none !important;
}