.kirasa-news-page,
.kirasa-news-page * {
  box-sizing: border-box;
}

.kirasa-news-page {
  width: 100%;
  min-height: 760px;
  padding: 70px 20px 100px;
  font-family: "Unbounded", sans-serif;
}

.kirasa-news-page--detail {
  padding: 0;
}

.news-showcase > .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 42px;
  padding: 0;
  color: #111;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.news-showcase > .breadcrumbs a {
  color: #b3aa9f !important;
  text-decoration: none;
}

.news-showcase {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.news-showcase__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.news-showcase__intro {
  display: none;
}

.news-showcase__controls {
  display: flex;
  gap: 12px;
}

.news-arrow {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  border: 1px solid #222;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font: 300 31px/1 inherit;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}

.news-arrow:hover {
  background: #171717;
  color: #fff;
}

.news-slider {
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.news-slider::-webkit-scrollbar {
  display: none;
}

.news-slider__track {
  display: flex;
  gap: 22px;
  width: 100%;
}

.news-card {
  flex: 0 0 calc((100% - 44px) / 3);
  width: calc((100% - 44px) / 3);
  height: 566px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #f3f3f3;
}

.news-card--image {
  display: block;
  background: #e7e7e7;
}

.news-card--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.news-card--image:hover img {
  transform: scale(1.025);
}

.news-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #111;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .12em;
}

.news-card--content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 34px 45px;
  color: #111;
  text-decoration: none;
  transition: background-color .25s;
}

.news-card--content:hover {
  background: #e9e9e9;
}

.news-card--content h2 {
  margin: 0 0 20px;
  color: #111;
  font-size: clamp(30px, 2.45vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: none;
}

.news-card--content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #414141;
  font-size: 19px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.news-card--content__more {
  align-self: flex-start;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.news-card--content__more span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .25s;
}

.news-card--content:hover .news-card--content__more span {
  transform: translate(3px, -3px);
}

.news-catalog {
  width: 100%;
  margin: 98px auto 0;
}

.news-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 42px;
}

.news-tab {
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid #202020;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: 500 14px/1.2 "Unbounded", sans-serif;
  cursor: pointer;
  transition: background-color .22s, color .22s;
}

.news-tab:hover:not(.is-active) {
  background: #ededed;
}

.news-tab.is-active {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 22px;
}

.news-grid-card {
  min-width: 0;
  color: #111;
}

.news-grid-card[hidden] {
  display: none;
}

.news-grid-card__image {
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 6px;
  background: #e7e7e7;
}

.news-grid-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.news-grid-card__image:hover img {
  transform: scale(1.025);
}

.news-grid-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 13px;
  color: #555;
  font-size: 13px;
}

.news-grid-card h2 {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.news-grid-card h2 a {
  color: #111;
  text-decoration: none;
}

.news-grid-card h2 a:hover {
  color: #555;
}

.news-grid-card__preview {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0 0;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-showcase .kirasa-news-pagination {
  display: flex;
  gap: 8px;
  margin-top: 55px;
}

.news-showcase .kirasa-news-pagination a,
.news-showcase .kirasa-news-pagination span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #222;
  border-radius: 4px;
  color: #111;
  text-decoration: none;
}

.news-showcase .kirasa-news-pagination span,
.news-showcase .kirasa-news-pagination a:hover {
  background: #171717;
  color: #fff;
}

@media (max-width: 1024px) {
  .news-card { flex-basis: calc((100% - 22px) / 2); width: calc((100% - 22px) / 2); height: 520px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .kirasa-news-page { padding: 48px 16px 72px; }
  .news-showcase__header { margin-bottom: 22px; }
  .news-arrow { width: 48px; height: 48px; }
  .news-slider { overflow-x: auto; scroll-snap-type: x mandatory; }
  .news-slider__track { gap: 14px; }
  .news-card { flex-basis: 88%; width: 88%; height: 500px; scroll-snap-align: start; }
  .news-card--content { padding: 30px 25px 34px; }
  .news-card--content h2 { font-size: 30px; }
  .news-catalog { margin-top: 70px; }
  .news-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .news-tab { flex: 0 0 260px; }
  .news-grid { grid-template-columns: 1fr; gap: 38px; }
  .news-grid-card__image { height: 240px; }
}
