.news-list {
  position: relative;
}
.news-list-container {
  max-width: 87.5rem;
  margin: 0 auto;
}
.news-list__title {
  color: #0897d8;
  font-family: 'Google Sans';
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.0375rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.news-list__filter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  z-index: 5;
}
.news-list__filter-left {
  display: flex;
  align-items: center;
}
.news-list__filter-item {
  position: relative;
}
.news-list__filter-item:not(:last-child) {
  margin-right: 1rem;
}
.news-list__filter-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 22.25rem;
  height: 3.0625rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(22, 22, 22, 0.1);
}
.news-list__filter-item__trigger-label {
  color: rgba(8, 53, 74, 0.7);
  font-family: 'Google Sans';
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
.news-list__filter-item__trigger-value {
  flex: 1 0 0;
  display: inline-block;
  color: #08354a;
  font-family: 'Google Sans';
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-left: 0.25rem;
  margin-right: 2rem;
  text-align: left;
}
.news-list__filter-item__trigger-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.news-list__filter-item__trigger-icon svg {
  width: 100%;
  height: 100%;
}
.news-list__filter-item__content {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  display: flex;
  width: 29.375rem;
  border-radius: 0.5rem;
  border: 0.4px solid rgba(22, 22, 22, 0.2);
  background: #fff;
  transition: all 0.4s ease-out;
  opacity: 0;
  visibility: hidden;
}
.news-list__filter-item.news-list__filter-item--active .news-list__filter-item__content {
  opacity: 1;
  visibility: visible;
}
.news-list__filter-item__content-select-list {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  max-height: 50vh;
}
.news-list__filter-item__content-select-item {
  display: flex;
  padding: 0.75rem;
  color: #08354a;
  font-family: 'Google Sans';
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  cursor: pointer;
  background: #fff;
}
.news-list__filter-item__content-select-item:hover {
  background: #f6f6f6;
}
.news-list__filter-right {
  flex-shrink: 0;
  margin-left: 2rem;
}
.news-list__filter-search {
  display: flex;
  width: 22.25rem;
  height: 3.0625rem;
  padding: 0 1rem;
  align-items: center;
  border-radius: 0.5rem;
  background: #f6f6f6;
}
.news-list__filter-search-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.news-list__filter-search-icon svg {
  width: 100%;
  height: 100%;
}
.news-list__filter-search-input {
  flex: 1 0 0;
  height: 100%;
  color: rgba(8, 53, 74, 1);
  font-family: 'Google Sans';
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.0175rem;
  background: transparent;
  border: none;
  outline: none;
}
.news-list__filter-search-input::placeholder {
  color: rgba(8, 53, 74, 0.4);
}
.news-list__grid {
  position: relative;
  width: 100%;
}
.news-list__grid-card-list {
  margin-bottom: 2.5rem;
}
.news-list__grid-card-list,
.news-list__grid-loading-list {
  display: grid;
  row-gap: 2rem;
  column-gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.news-list__grid-card-item,
.news-list__grid-loading-item {
  grid-column: span 1 / span 1;
}
.news-list__grid-loading-list {
  display: none;
}
.news-list__grid-loading-list.news-list__grid-loading-list--active {
  display: grid;
}
.news-list__filter-mobile {
  display: none;
}
.news-list__filter-mobile-sticky {
  display: none;
}

@media screen and (max-width: 639.98px) {
  .news-list-container {
    padding-inline: 1rem;
  }
  .news-list__title {
    text-align: center;
    font-size: 1.25rem;
    line-height: 120%;
    letter-spacing: -0.0125rem;
    margin-bottom: 1.25rem;
  }
  .news-list__filter {
    display: none;
  }

  .news-list__grid {
    position: relative;
    width: 100%;
  }
  .news-list__grid-card-list {
    margin-bottom: 1.25rem;
  }
  .news-list__grid-card-list,
  .news-list__grid-loading-list {
    row-gap: 1rem;
    column-gap: 0rem;
    grid-template-columns: repeat(1, 1fr);
  }

  .news-list__filter-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
  }
  .news-list__filter-mobile__search {
    flex: 1 0 0;
    height: 2.5rem;
    display: flex;
    align-items: center;
    background: #f6f6f6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-right: 0.5rem;
  }
  .news-list__filter-mobile__search-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  .news-list__filter-mobile__search-icon svg {
    width: 100%;
    height: 100%;
  }
  .news-list__filter-mobile__search-input {
    color: #08354a;
    font-family: 'Google Sans';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.015rem;
    height: 100%;
    background: transparent;
    border: 0;
    outline: 0;
  }
  .news-list__filter-mobile__search-input::placeholder {
    color: rgba(8, 53, 74, 0.4);
  }
  .news-list__filter-mobile__filter {
    flex-shrink: 0;
  }
  .news-list__filter-mobile__filter::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease-out,
      visibility 0.3s ease-out;
  }
  .news-list__filter-mobile__filter--active::before {
    opacity: 1;
    visibility: visible;
  }
  .news-list__filter-mobile__filter-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    background: #f6f6f6;
  }
  .news-list__filter-mobile__filter-trigger-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .news-list__filter-mobile__filter-trigger-icon svg {
    width: 100%;
    height: 100%;
  }
  .news-list__filter-mobile__filter-content-wrapper {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 0.75rem 0.75rem 0 0;
    overflow: hidden;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
  }
  .news-list__filter-mobile__filter--active .news-list__filter-mobile__filter-content-wrapper {
    transform: translateY(0);
  }
  .news-list__filter-mobile__filter-header {
    display: flex;
    padding: 0.625rem 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.03125rem solid rgba(22, 22, 22, 0.2);
  }
  .news-list__filter-mobile__filter-title {
    color: #1991c7;
    text-align: center;
    font-family: 'Google Sans';
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.01125rem;
  }
  .news-list__filter-mobile__filter-btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: rgba(17, 17, 100, 0.1);
    backdrop-filter: blur(27.182817459106445px);
  }
  .news-list__filter-mobile__filter-btn-close svg {
    width: 0.75rem;
    height: 0.75rem;
  }
  .news-list__filter-mobile__filter-content {
    padding: 0.75rem 1rem;
    max-height: 50vh;
    overflow-y: auto;
  }
  .news-list__filter-mobile__filter-category {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 0.03125rem solid rgba(22, 22, 22, 0.2);
  }
  .news-list__filter-mobile__filter-category-title,
  .news-list__filter-mobile__filter-sort-title {
    color: #08354a;
    font-family: 'Google Sans';
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    margin-bottom: 0.5rem;
  }

  .news-list__filter-mobile__filter-category-item,
  .news-list__filter-mobile__filter-sort-item {
    display: flex;
    padding: 0.75rem;
    align-items: center;
  }

  .news-list__filter-mobile__filter-category-item__radio,
  .news-list__filter-mobile__filter-sort-item__radio {
    position: relative;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    border: 1px solid rgb(25, 145, 199, 0.56);
    margin-right: 0.625rem;
  }

  .news-list__filter-mobile__filter-category-item__radio::before,
  .news-list__filter-mobile__filter-sort-item__radio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgb(25, 145, 199, 0.56);
    display: none;
  }

  .news-list__filter-mobile__filter-category-item--active
    .news-list__filter-mobile__filter-category-item__radio::before,
  .news-list__filter-mobile__filter-sort-item--active
    .news-list__filter-mobile__filter-sort-item__radio::before {
    display: block;
  }

  .news-list__filter-mobile__filter-category-item__text,
  .news-list__filter-mobile__filter-sort-item__text {
    color: #08354a;
    font-family: 'Google Sans';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }

  .news-list__filter-mobile__filter-footer {
    position: relative;
    padding: 1rem;
    border-top: 0.0375rem solid rgba(22, 22, 22, 0.2);
  }
  .news-list__filter-mobile__filter-btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6.25rem;
    border: 1.2px solid #f5f5f5;
    height: 2.5rem;
    background: #1991c7;
    box-shadow:
      0 0 0 1px #a3e2ff,
      0 0 4px 0 rgba(0, 0, 0, 0.12),
      0 1px 8px 0 rgba(0, 0, 0, 0.1);
  }
  .news-list__filter-mobile__filter-btn-apply-text {
    color: #fff;
    font-family: 'Google Sans';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
    margin-right: 0.5rem;
  }
  .news-list__filter-mobile__filter-btn-apply-icon {
    width: 1rem;
    height: 1rem;
  }
  .news-list__filter-mobile__filter-btn-apply-icon svg {
    width: 100%;
    height: 100%;
  }

  .news-list__filter-mobile-sticky {
    position: fixed;
    bottom: 3rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.12),
      0 1px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(calc(100% + 4rem));
    pointer-events: none;
    opacity: 0;
    transition:
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .news-list__filter-mobile-sticky--visible {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }
  .news-list__filter-mobile-sticky--static {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    pointer-events: auto;
    opacity: 1;
    margin-top: 1.5rem;
    transition: opacity 0.3s ease;
  }
  .news-list__filter-mobile-sticky__search {
    flex: 1 0 0;
    height: 2.5rem;
    display: flex;
    align-items: center;
    background: #f6f6f6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-right: 0.5rem;
  }
  .news-list__filter-mobile-sticky__search-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  .news-list__filter-mobile-sticky__search-icon svg {
    width: 100%;
    height: 100%;
  }
  .news-list__filter-mobile-sticky__search-input {
    color: #08354a;
    font-family: 'Google Sans';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.015rem;
    flex: 1 0 0;
    height: 100%;
    background: transparent;
    border: 0;
    outline: 0;
  }
  .news-list__filter-mobile-sticky__search-input::placeholder {
    color: rgba(8, 53, 74, 0.4);
  }
  .news-list__filter-mobile-sticky__filter-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    background: #f6f6f6;
  }
  .news-list__filter-mobile-sticky__filter-trigger-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .news-list__filter-mobile-sticky__filter-trigger-icon svg {
    width: 100%;
    height: 100%;
  }
}
