/* Add this at the top of the file for mobile sticky header */
@media (max-width: 768px) {
  body {
    /* Basic mobile styling */
    overflow-x: hidden;
    /* No initial padding */
    padding-top: 0;
    /* When JS adds the body class for fixed header */
  }
  body.has-fixed-header {
    padding-top: 3.75rem; /* Match the header height */
  }
  /* Add spacing for elements that follow the fixed header */
  .news-list-static-search + * {
    margin-top: 1rem;
  }
}
.news-list-static-container {
  width: 100%;
  position: relative;
}
.news-list-static-container.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  margin: 0;
}
.news-list-static-container.is-fixed .news-list-static-search {
  max-width: 1200px;
  margin: 0 auto;
}

.news-list-static-title {
  font-weight: bold;
  margin-bottom: 1rem;
  font: var(--font-sh-s);
  font-size: 2rem;
}

.news-list-search,
.news-list-static-search,
.news-category-links {
  display: flex;
  gap: 1rem;
}

.news-list-search,
.news-list-static-search {
  margin-bottom: 2rem;
}
.news-list-search .news-search__toggle,
.news-list-static-search .news-search__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #E3E5E7;
  border-radius: 0.25rem;
  cursor: pointer;
  text-decoration: none;
  color: #0367E1;
  font-size: 0;
  overflow: hidden;
}
.news-list-search .news-search__toggle:hover,
.news-list-static-search .news-search__toggle:hover {
  background-color: #0367E1;
  color: #fff;
}
.news-list-search .news-search__toggle::before,
.news-list-static-search .news-search__toggle::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.news-list-search .news-search-form__close-icon,
.news-list-static-search .news-search-form__close-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #E3E5E7;
  border-radius: 0.25rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0;
  overflow: hidden;
  background-color: #0367E1;
  color: #fff;
}
.news-list-search .news-search-form__close-icon::before,
.news-list-static-search .news-search-form__close-icon::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.news-list-search.news-list-static-search,
.news-list-static-search.news-list-static-search {
  /* Default positioning */
  position: relative;
  z-index: 999;
  /* Visual styling */
  background-color: #fff;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  /* Default without shadow */
  box-shadow: none;
  /* Add smooth transition */
  transition: box-shadow 0.3s ease, position 0.1s ease;
  /* When JS adds the fixed class */
}
.news-list-search.news-list-static-search.is-fixed,
.news-list-static-search.news-list-static-search.is-fixed {
  padding-right: 1rem;
  padding-left: 0.3rem;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}
.news-list-search.news-list-static-search .news-category-links,
.news-list-static-search.news-list-static-search .news-category-links {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: 0.5rem; /* Space for scrollbar */
}
.news-list-search.news-list-static-search .news-category-links::-webkit-scrollbar,
.news-list-static-search.news-list-static-search .news-category-links::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.news-list-search.news-list-static-search .news-category-links .news-category-item,
.news-list-static-search.news-list-static-search .news-category-links .news-category-item {
  flex: 0 0 auto;
}
.news-list-search.news-list-static-search .news-category-links .news-category-item a,
.news-list-static-search.news-list-static-search .news-category-links .news-category-item a {
  width: auto;
  white-space: nowrap;
}

@media (min-width: 976px) {
  :root:has(.gin--vertical-toolbar.has-fixed-header) .news-list-static-search.news-list-static-search.is-fixed {
    z-index: 99;
    padding-left: 2.4rem;
  }
}
.news-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  width: 100%;
}
.news-category-links .news-category-item {
  margin: 0;
  padding: 0;
}
.news-category-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #F2F6FF;
  border-radius: 2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.75rem;
}
@media (max-width: 767px) {
  .news-category-links a {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 1024px) {
  .news-category-links a {
    font-size: 0.75rem;
  }
}
.news-category-links a:hover, .news-category-links a.active {
  background-color: #0367E1;
  color: #fff;
}
@media (max-width: 767px) {
  .news-category-links {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
}

.news-category-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  width: 100%;
}
@media (min-width: 1024px) {
  .news-category-pills-list {
    gap: 0.4rem;
  }
}
.news-category-pills-list > * {
  font-weight: bold;
}
.news-category-pills-list input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.news-category-pills-list .news-category-item {
  margin: 0;
  padding: 0;
}
.news-category-pills-list .Radio__label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #D2DDFE;
  border-radius: 2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.75rem;
}
@media (max-width: 767px) {
  .news-category-pills-list .Radio__label {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 1024px) {
  .news-category-pills-list .Radio__label {
    font-size: 0.75rem;
  }
}
.news-category-pills-list .Radio__label:hover {
  background-color: #0367E1;
  color: #fff;
}
.news-category-pills-list .Radio__label.active {
  background-color: #0367E1;
  color: #fff;
}