.page-header h1.entry-title{
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin: 0;
  text-transform: uppercase;
}

.page-header{
  padding-top: 60px;
   margin-bottom: 40px;
}
.top-content-container{
  margin-bottom: 40px;
  flex-wrap: wrap;
 
}
.menu-cat-menu-container{
  margin-bottom: 20px;
}
.menu-cat-menu-container ul{
  overflow: scroll; 
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 
 
#search-form .form-group button{
  flex:0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.menu-cat-menu-container ul::-webkit-scrollbar {
  display: none;
}
.resource-filter-container{
  flex-direction: column;
} 
.search-content-container{
  flex:0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#search-form{
  display: flex; 
  gap: 10px;
  flex-wrap: wrap;
  flex:0 0 100%;
  justify-content: flex-end;
}
#search-form .form-group{
  display: flex; 
  gap: 10px;
  flex:0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;  
}
.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 18px;
  color: #fff;
  width: 100%;
}
select {
  display: none;
}
.custom-select {
 
  background-color: #F9F9F9;
  color: #155AA2;
  padding: 15px 24px 16px;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  height: 100%;
}
.custom-select:after {
  content: "";
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-color:#155AA2 transparent transparent transparent;
  position: absolute;
  top: 23px;
  right: 15px;
  transform: rotateZ(0deg);
  transition: all 0.5s;
  transform-origin: 50% 25%;
}
/*.custom-select:hover {
  background-color: #b83729;
}
*/
.custom-select:active, .custom-select.active {

  color: #155AA2;
}
.custom-select:active:after, .custom-select.active:after {
  transform: rotateZ(180deg);
  transition: all 0.5s;
  transform-origin: 50% 25%;
}
.custom-select:focus{
 outline: 2px;
}
.select-options {
  max-height: 200px;
  overflow-y: auto;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #F9F9F9;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.select-options li {
  color: #424242;
  margin: 0;
  padding: 10px 0; 
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
  padding-left: 15px;
}
.select-options li:hover {
  color: #222222;
  background: #ececec;
}
.select-options li[rel="hide"] {
  display: none;
}
::-webkit-scrollbar {
  width: 5px;
  background-color: #F5F5F5;
  border-radius: 0 0 5px 0;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color:#9E9E9E;
}
/* Alternative approach - use native styling for better compatibility */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #search-form .form-group select{
    appearance: menulist;
    -webkit-appearance: menulist;
    background-image: none;
    padding-right: 12px;
  }
}
.news-page-container{
  margin-bottom: 40px;
}
#search-form .form-group button{
  background:#155AA2 ;
  color: #F9F9F9;
  padding: 12px;
  border: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  justify-content: center;
} 
#search-form .form-group button:hover{
  background: #0F4073;
  color: #fff;
  cursor: pointer;
}
.post-meta-container{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.post-meta-category a, .reasource-doctype .post-meta-category{
  border-radius: 100px;
  background:  #FBECEB ;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; 
  color: #DC665B;
  padding: 5px 10px;
  display: inline-block;
  text-decoration: none;
} 
.post-nws-category, .reasource-doctype .post-psb-category{
  border-radius: 100px;
  background:  #E8EFF6 ;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; 
  color: #155AA2;
  padding: 5px 10px;
  display: inline-block;
  text-decoration: none;
}
.post-meta-date{
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; 
  color: #447BB5;
}
.news-page-container h1.page-title{
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; 
  margin:0 0 42px;
}
.news-list-container{
  gap: 32px;
  margin-bottom: 60px;
}
.news-item{
  display: flex;
  justify-content: space-between;  
  flex: 0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.news-item > div{
  height: 100%;
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.news-item .post-meta-container,
.news-list-container .post-meta-date{
  margin-bottom: 16px;
}
.news-item-title{
  margin-bottom: 16px; 
}
.news-item .news-item-title a{
  margin-bottom: 16px;
  margin-top: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; 
  color:#222222;
  text-decoration: none;
} 
.news-item .archive-item-title a:hover, .news-item:hover .news-item-title a{
  color: #155AA2;
} 
.news-content-container{
  padding-top: 16px;
}

.news-item .btn-container a{
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  text-decoration: none;
  color: #155AA2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-item .btn-container a:after{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../img/icons/arrow-right-2.svg) no-repeat center center;
  background-size: contain;
  vertical-align: middle;
  transition: all 0.3s ease;
}
.news-item .btn-container a:hover:after, .news-item:hover a:after{
  transform: translateX(10px);
  transition: all 0.3s ease;
}
.custom-pagination-container{ 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; 
}
.custom-pagination-container ul{ 
  padding: 0;
  margin: 0;
  list-style: none;
}
.custom-pagination-container .nav-links, .custom-pagination-container ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.custom-pagination-container .nav-links a, .custom-pagination-container .nav-links span,
.custom-pagination-container ul li a, .custom-pagination-container ul li span{
  display: flex;
  justify-content: center;
  align-items: center; 
  text-decoration: none;
  color: #155AA2;
  font-size: 14px;
  border: 1px solid transparent;
  flex:0 0 32px;
  height: 32px; 
  padding: 0 10px;
}
.custom-pagination-container .nav-links a:hover, 
.custom-pagination-container ul li a:hover{
  background: #155AA2;
  color: #fff;
}
.custom-pagination-container .nav-links span.current, 
.custom-pagination-container ul li span.current{
  border: 1px solid #E9ECEF;
  background: #155AA2;
  color: #fff;
}
.next.page-numbers, .prev.page-numbers{
  background: url(../img/icons/icon-arrow-grey.svg) no-repeat center center;
  background-size: 16px !important;
  font-size: 0 !important;
  flex:0 0 32px !important;
  height: 32px !important;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transform: rotate(180deg);
}
.prev.page-numbers{
  transform: rotate(0deg);
}
.next.page-numbers:hover, .prev.page-numbers:hover{
  background: url(../img/icons/icon-arrow-blue.svg) no-repeat center center !important;
  background-size: 16px !important;
}
.menu-container{
  flex:0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.menu-cat-menu-container ul{
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-cat-menu-container a{
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  background: #F0F7FF;
  padding: 14px 24px;
  justify-content: center;
  align-items: center;
  display: block;
  text-decoration: none;
  color: #155AA2;
  white-space: nowrap;
}
.menu-cat-menu-container .current-menu-item a{
  background: #155AA2;
  color: #fff;
}
.counter-articles{
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: #8C9196;
}

.part-title h2{
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin: 0 0 24px;
}

.sectoral-documents-list li a{
  line-break: anywhere;

}
#search-form .form-group{
  flex:0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.resource-filter-title  {
  text-align: left;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px; 
  width: 100%;
}
.publication-container{
  background: #F9F9F9;
  padding: 24px;
  border-radius: 10px; 
}
.publication-title h3{
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; 
}
.bottom-page-container{
  margin-bottom: 60px;
}
.counter-articles {
  display: none;
}

@media (min-width: 768px) {
  .top-content-container{
    gap: 24px;
  }
  .news-page-container{
    margin-bottom: 60px;
  }
  .news-item{
    display: flex;
    justify-content: space-between;  
    flex: 0 0 calc(50% - (32px * 1 / 2));
    max-width: calc(50% - (32px * 1 / 2));
    flex-wrap: wrap;
  }
  #search-form .form-group{
    flex :0 0 auto;
  }
  #search-form .form-group.year-select {
    flex:0 0 120px; 
    flex-wrap: wrap;
  }
  #search-form .form-group.committee-select{
    flex:0 0 250px; 
    flex-wrap: wrap;
  }
  .menu-container{
    flex:0 0 auto;
    max-width: auto;
    flex-wrap: wrap;
  }
  .resource-filter-container{
    flex-direction: row;
  }
  .menu-cat-menu-container{
    margin: 0;
  } 
  .resource-filter-title  {
    width: auto;
  }
  .bottom-page-container{
    margin-bottom: 60px;
    padding:20px 0
  }
  .resource-content-container{
    flex-direction: row;
  }
  .counter-articles {
    display: block;
  }
}
@media(min-width: 992px){
  .search-content-container{
    flex:0 0 41%;
  }
  .news-item{
    display: flex;
    justify-content: space-between;  
    flex: 0 0 calc(25% - (32px * 3 / 4));
    max-width: calc(25% - (32px * 3 / 4));
    flex-wrap: wrap;
  }

  
}
.entry-title.about-afcwp{
 text-align: center;
}