/* General styles */
.news h1 {
  text-align: center;
  margin: 0 auto;
}

.news .load-more {
  display: flex;
  margin: 90px auto 0;
}

.news .loading-message,
.news .no-posts-message {
  display: none;
  margin-bottom: 49px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2.4px;
}

.news section {
  background-color: var(--usat-black);
  color: var(--usat-white);
}

.news section .container {
  align-items: flex-start;
  width: 1139px;
  padding-top: 180px;
  padding-bottom: 60px;
}

@media only screen and (max-width: 991.98px) {
  .news section .container {
    padding-top: 130px;
    padding-bottom: 0;
    max-width: calc(100% - 27px);
  }
}

/* Article options styles */
.article-options {
  display: flex;
  justify-content: space-between;
  margin: 73px 0 67px;
  width: 100%;
}

.article-options .category-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.article-options .category-filter .category-label,
.article-options .category-filter .category-select {
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}

.article-options .category-filter .category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.article-options .category-filter .category-select {
  border: none;
  background: transparent;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  padding-right: 14px;
  min-width: 100px;
  height: 100%;
  line-height: 1;
  cursor: pointer;
  text-align: center;
}

.article-options .category-filter .dropdown {
  position: relative;
  transform: translateX(-18px);
  pointer-events: none;
}

.article-options .search-filter {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 5px;
  background-color: #1D1D1F;
  width: 494px;
}

.article-options .search-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.article-options .search-filter-icon img {
  width: 18px;
  height: 18px;
}

.article-options .search-filter .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 222.5px;
  height: 28px;
  margin-left: 10px;
}

.article-options .search-filter .search-input-wrapper::after {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
  content: '';
  background-color: var(--usat-black);
}

.article-options .search-input {
  width: 100%;
  height: 19px;
  border: none;
  font-size: 12px;
  color: var(--usat-white);
  background-color: transparent;
  outline: none !important;
  letter-spacing: 2.4px;
}

.article-options ::placeholder {
  font-size: 12px;
  color: #fff;
  letter-spacing: 2.4px;
  opacity: 1;
}

.article-options ::-ms-input-placeholder {
  font-size: 12px;
  color: var(--usat-gray);
  letter-spacing: 0.96px;
}

@media (max-width: 1199.98px) {
  .article-options .search-filter {
    width: auto;
  }
}

/* Article list styles */
.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-list .article-item {
  position: relative;
}

.article-list .article-item .article-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.article-list .article-item .article-image::before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.9106%;
  background-color: #d9d9d9;
}

.article-list .article-item .img-article {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  object-fit: cover;
  z-index: 1;
}

.article-list .article-item .article-content {
  margin-top: 20px;
}

.article-list .article-item .article-info {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--usat-light-gray);
  padding: 0 8px;
}

.article-list .article-item .article-title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 16px;
}

.article-list .article-item .article-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 24px;
}

.article-list .article-item .article-preview p {
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.15px;
  color: #fff;
  margin: 0;
  text-transform: none;
}

.article-list .article-item .article-preview .article-date {
  font-weight: 600;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--usat-light-gray);
}

.article-list .article-item:first-child {
  display: flex;
  gap: 48px;
  grid-column: 1 / span 3;
  margin-bottom: 38px;
}

.article-list .article-item:first-child .article-image {
  width: 577px;
  max-width: 50vw;
}

.article-list .article-item:first-child .article-image::before {
  padding-top: 56.25%;
}

.article-list .article-item:first-child .article-content {
  margin-top: 0;
  width: 100%;
}

.article-list .article-item:first-child .article-info {
  display: none;
}

.article-list .article-item:first-child .article-title {
  -webkit-line-clamp: 3;
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 40px;
}

.article-list .article-item:first-child .article-preview {
  -webkit-line-clamp: 5;
  margin-bottom: 26px;
}

.article-list .article-item:not(:first-child) {
  padding-top: 40px;
}

.article-list .article-item:not(:first-child) .article-info {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 8px;
  width: calc(100% - 16px);
}

.article-list .article-item:not(:first-child) .article-preview .article-date {
  display: none;
}

.article-list .article-item .btn.btn-outline-light {
  width: fit-content;
  min-width: 224px;
}

.article-list .article-item:not(:first-child) .btn.btn-outline-light {
  min-width: 134px;
}

@media (max-width: 1199.98px) {
  .article-list .article-item:not(:first-child) .article-info {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 0 4px;
    width: calc(100% - 8px);
  }
}

@media (max-width: 991.98px) {

  /* General styles */
  .news .container {
    padding: 57px 0 60px;
  }

  .news .load-more {
    margin: 57px auto 0;
  }

  /* Article options styles */
  .article-options {
    margin: 48px 0 34px;
  }

  /* Article list styles */
  .article-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 57px;
  }

  .article-list .article-item {
    width: 100%;
  }

  .article-list .article-item:first-child {
    display: flex;
    flex-direction: column;
    grid-column: 1 / span 2;
    gap: 20px;
    max-width: 100%;
    margin-bottom: 0;
  }

  .article-list .article-item:first-child .article-image {
    margin-left: -13.5px;
    margin-right: -13.5px;
    width: calc(100% + 27px);
    max-width: unset;
  }

  .article-list .article-item:first-child .article-image:after {
    border-width: 0 70px 73px 0;
  }

  .article-list .article-item:first-child .article-title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 32px;
  }

  .article-list .article-item .article-preview {
    margin-bottom: 20px;
  }

  .article-list .article-item:first-child .article-preview {
    margin-bottom: 20px;
  }

  .article-list .article-item .btn.btn-outline-light {
    min-width: 134px;
  }

  .article-list .article-item .article-info {
    padding: 0;
  }
}

@media (max-width: 887.98px) {
  .latest-news .article-list {
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 8px;
  }
}

@media (max-width: 767.98px) {

  /* Article options styles */
  .article-options .category-filter .category-label img,
  .article-options .search-filter img {
    cursor: pointer;
  }

  .article-options .search-filter img {
    width: 19px;
  }

  .article-options .category-filter:not(.active) .dropdown,
  .article-options .category-filter:not(.active) .category-label>div,
  .article-options .category-filter:not(.active) .category-select,
  .article-options .search-filter:not(.active) .search-input-wrapper {
    display: none;
  }

  .article-options .search-filter:not(.active) {
    background-color: transparent;
  }

  /* Article list styles */
  .article-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .article-list .article-item:first-child {
    grid-column: 1 / span 1;
  }
}

@media (max-width: 575.98px) {

  /* Article list styles */
  .article-list .article-item:first-child .article-image:after {
    border-width: 0 45px 48px 0;
  }
}