.news-page {
  border-top: 1px solid #E1E6EE;
  padding: 149px 0 50px;
}

.news-detail-page {
  border-top: 1px solid #E1E6EE;
  padding: 149px 0;
}

.breadcrumbs {
  align-items: center;
  color: #1F1F1F;
  display: flex;
  flex-wrap: wrap;
  font-family: "Rubik";
  font-size: 12px;
  font-weight: 400;
  gap: 6px;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  margin-bottom: 5px;
  padding: 16px 0;
}

.breadcrumbs a {
  color: #636363;
  text-decoration: none;
}

.breadcrumbs__arrow {
  display: inline-flex;
  line-height: 1;
}

.breadcrumbs__arrow svg {
  display: block;
  width: 14px;
}

.news-page__title {
  color: #1F1F1F;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.2;
  margin: 0;
  padding: 20px 0;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  align-items: flex-start;
  background-color: #F8F8F8;
  border-radius: 4px;
  display: flex;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.news-card__image {
  border-radius: 4px;
  flex: 0 0 307px;
  height: 230px;
  overflow: hidden;
  width: 307px;
}

.news-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-detail__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-card__content {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.news-card__header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.news-detail__header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.news-card__title {
  color: #1F1F1F;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.news-detail__title {
  color: #1F1F1F;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.news-detail__subtitle, .news-detail__text h2{
  color: #1F1F1F;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.news-detail__text h2{
    margin: 14px 0;
}

.news-card__date {
  color: #AEAEAE;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  white-space: nowrap;
}

.news-detail__date {
  color: #AEAEAE;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  white-space: nowrap;
}

.news-card__text {
  color: #636363;
  display: flex;
  flex-direction: column;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  width: 100%;
}

.news-detail__text {
  color: #636363;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  width: 100%;
}

.news-detail__notice {
  color: #636363;

  font-family: "Rubik";
  font-size: 15px;
  font-weight: 400;

  letter-spacing: 0.03rem;
  line-height: 1.2;
  width: 100%;
}

.news-card__text p {
  margin: 0;
}

.news-detail__text p {
  margin: 0;
}

.news-detail__notice p {
  margin: 0;
}

.news-card__text a {
  color: #DF0E0E;
  font-weight: 500;
  text-decoration: underline;
  word-break: break-word;
}

.news-detail__text a {
  color: #DF0E0E;
  font-weight: 500;
  text-decoration: underline;
  word-break: break-word;
}

.news-card__button {
  align-items: center;
  color: #DF0E0E;
  display: inline-flex;
  font-family: "Rubik";
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.03rem;
  line-height: 1.2;
  text-decoration: none;
}

.news-card__button svg {
  display: block;
  width: 14px;
  transition: transform 0.1s linear;
}

.news-card__button:hover svg {
  transform: translateX(4px);
}

.news-pagination {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 20px;
}

.news-pagination__item {
  align-items: center;
  border: 1px solid #E1E6EE;
  border-radius: 50%;
  color: #1F1F1F;
  display: inline-flex;
  font-family: "Rubik";
  font-size: 15px;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.03rem;
  line-height: 1;
  text-decoration: none;
  width: 40px;
}

.news-pagination__arrow {
  align-items: center;
  border: 1px solid #E1E6EE;
  border-radius: 50%;
  color: #1F1F1F;
  display: inline-flex;
  font-family: "Rubik";
  font-size: 15px;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.03rem;
  line-height: 1;
  text-decoration: none;
  width: 40px;
}

.news-pagination__arrow svg {
  display: block;
  width: 14px;
}

.news-pagination__arrow_prev svg {
  transform: rotate(180deg);
}

.news-pagination__item_active {
  background-color: #DF0E0E;
  border-color: #DF0E0E;
  color: #FFFFFF;
}

.news-pagination__arrow {
  color: #DF0E0E;
}

.news-pagination__arrow_disabled {
  color: #636363;
  cursor: default;
  pointer-events: none;
}

.news-detail {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  width: 100%;
}

.news-detail__image {
  flex: 0 0 560px;
  height: 350px;
  overflow: hidden;
  width: 560px;
}

.news-detail__content {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

@media (max-width: 1339.98px) {
  .news-detail__image {
    width: 50%;
    flex: unset;
    height: auto;
  }
  .news-detail__content {
    width: 50%;
    flex: unset;
  }
}

@media (max-width: 991.98px) {
  .news-page {
    padding: 80px 0 20px;
  }
  .news-detail-page {
    padding: 80px 0 20px;
  }

  .news-detail {
    flex-direction: column;
  }
  .news-detail__content {
    width: 100%;
  }
  .news-detail__image {
    width: 100%;
  }
  .news-card {
    flex-direction: column;
    padding: 16px;
  }

  .news-card__image {
    width: 100%;
    height: auto;
    flex: unset;
  }

  .news-pagination {
    gap: 8px;
  }
}

@media (max-width: 575.98px) {

  .news-pagination {
    flex-wrap: wrap;
  }
}
