section#news-head {
    background: #323237;
    padding: 0 50px 30px;
}
.news-banner{
    display: flex;
}
.image {
    width: 100%;
}
.image img {
    width: 100%;
    height: 500px;
}
.news-banner .contents {
    width: 100%;
    color: #fff;
    padding-left: 80px;
    padding-top: 50px;
}
.news-banner .contents h3 {
    font-size: 30px;
    font-weight: 600;
}
.learn a.btn-learn {
    font-size: 16px;
}
section#news-container h3 {
    color: #30629f;
    font-size: 40px;
    font-weight: 600;
    line-height: 32px;
    padding-left: 20px;
    padding-right: 20px;
}
.news-item h3 a {
    color: #000;
    font-size: 20px;
    line-height: 0;
}
select#monthSelect {
    padding: 8px 12px;
    border-radius: 5px;
    border: navajowhite;
    background: #f4f6f9;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}
.category-filter button {
    border: none;
    background: no-repeat;
    font-size: 18px;
    color: #000;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0 20px;
}
.news-container { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  justify-content: center; 
  margin-top:20px;
}
.news-item {
    background: #fbf5ff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    height: 450px;
}
.news-item img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
    height: 200px;
}
.news-item h3 { 
  margin: 5px 0; 
  font-size: 16px; 
}
.news-item a { text-decoration: none; color: #0073e6; }
.news-item a:hover { text-decoration: underline; }

.category-filter button { 
  margin: 0 5px; 
  padding: 6px 12px;
  background: white; 
  border-radius: 6px; 
  cursor: pointer;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
}
.category-filter button.active { 
  background: #9ca3af; 
  color: white; 
  font-weight: 600; 
  padding: 10px 16px;
}
span#page-info {
    align-content: center;
    padding: 10px 20px;
}
section#news-container .pagination button {
    margin: 0 5px;
    padding: 5px 10px;
    border: none;
    background: none;
    align-items: center;
    align-content: center;
}
section#news-container .pagination {
    justify-content: center;
}
.news-item p {
    color: #30629f;
    font-style: italic;
    font-size: 14px;
    font-weight: 400;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0;
}

.month-filter select { padding: 5px; }

.pagination { margin: 20px; text-align:center; }
.pagination button { margin: 0 5px; padding: 5px 10px; }
.filters { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }

@media (min-width: 1024px){
    section#news-container {
        padding: 50px 160px;
    }
}
@media (max-width: 1023px){
    section#news-container {
        padding: 50px 20px;
    }
}
@media (max-width: 767px){
  .news-banner{
    display: block;
}
.news-banner .contents {
    width: 100%;
    color: #fff;
    padding-left: 0;
    padding-top: 30px;
}
section#news-head{
    padding: 0 20px 70px;
}
.image img {
    width: 100%;
    height: 100%;
}
.news-container {
    display: block;
}
.news-item{
    margin-bottom: 30px;
}
section#news-container h3 {
    font-size: 30px;
    padding-left: 20px;
}
.news-item{
    height: auto;
}
}