.single-post-parents-container{
  background: #135293;;
  color: #fff;
  padding: 40px 0;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 60px;
}
.single-post-container h1{
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin:0 0 24px
}
.post-meta-container{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.post-meta-category a{
  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{
  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;
}
.entry-content p{
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 0px;
  margin-bottom: 24px;
}
.entry-meta{
  display: none;
}
.archiver-page-container {
  padding-top: 40px;
  margin-bottom: 40px;
}
.archiver-page-container h1.page-title{
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; 
  margin:0 0 42px;
  text-transform: uppercase;
}
.archive-list-container{
  gap: 32px;
  margin-bottom: 60px;
}
.archive-item{
  display: flex;
  justify-content: space-between;  
  flex: 0 0 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.archive-item > div{
  height: 100%;
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.archive-item .post-meta-container,
.archive-item .post-meta-date{
  margin-bottom: 16px;
}
.archive-item-title{
  margin-bottom: 16px;
}
.archive-item .archive-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;
} 
.archive-item .archive-item-title a:hover{
  color: #155AA2;
}
.archive-content-container{
  padding-top: 16px;
}
.archive-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;
}
.archive-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;
}
.archive-item .btn-container a:hover:after, .archive-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 .nav-links{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.custom-pagination-container .nav-links a, .custom-pagination-container .nav-links span{
  display: flex;
  justify-content: center;
  align-items: center; 
  text-decoration: none;
  color: #155AA2;
  font-size: 14px;
 
  flex:0 0 32px;
  height: 32px;
  padding: 0 10px;
}

.custom-pagination-container .nav-links a:hover{
  background: #155AA2;
  color: #fff;
}
.custom-pagination-container .nav-links 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;
}
.top-content-container{
  margin-bottom: 40px;
}
#search-form{
  display: flex; 
  gap: 10px;
}
#search-form .form-group{
  display: flex; 
  gap: 10px;
}
.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; 
  overflow: scroll; 
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.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;
}

.current-menu-item a{
  background: #155AA2;
  color: #fff;
}
.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%;
}
.single-post-container{
  margin-bottom: 40px;
}
.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%;
} 
.top-content-container{
  flex-wrap: wrap;
  gap: 10px;
}
.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;
  }
}
.search-content-container{
  flex:0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#search-form .form-group, #search-form .form-group button{
  flex:0 0 100%;
}
#search-form{ 
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 100%;
  justify-content: flex-end;
}
#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;
}
.error-page-template {
  text-align: center;
}
.error-page-template.error-403 .error-page-content{
  background: url(../img/icon-403.svg) no-repeat center center;
  background-size: contain;
}
.error-page-template.error-404 .error-page-content{
  background: url(../img/icon-404.svg) no-repeat center center;
  background-size: contain;
}
.error-page-template .error-number{
  font-size: 130px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 14px;
  color: #222222;
}
.error-page-template h1{ 
  color: #222222;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}
.error-page-template p{
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; 
  color: #222222;
}
.counter-articles {
  display: none;
}
@media (min-width: 768px) {
  .single-post-container{
    margin-bottom: 60px;
  }
  .top-content-container{ 
    gap: 24px;
  }
  .archive-item{
    flex: 0 0 calc(33.333% - (32px * 2 / 3));
    max-width: calc(33.333% - (32px * 2 / 3));
    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, .search-content-container{
    flex:0 0 auto;
    max-width: auto;
    flex-wrap: wrap;
  }
  .error-page-template{
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 40px 0;
    background: #F9F9F9;
  }
  .archiver-page-container{
    padding-top: 60px;
    margin-bottom: 60px;
  }
  .counter-articles {
    display: block;
  }
}
@media(min-width: 992px){
  .archive-item{
    flex: 0 0 calc(25% - (32px * 3 / 4));
    max-width: calc(25% - (32px * 3 / 4));
    flex-wrap: wrap;
  }
}