.articles-section {
  --articles-scale: clamp(0.4167, calc(100vw / 1920px), 1);
  --articles-height: 1003px;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 1920px) {
  .articles-section {
    --articles-scale: 1;
  }
}

.articles-section__scale {
  position: relative;
  height: calc(var(--articles-height) * var(--articles-scale));
}

.articles-section__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: var(--articles-height);
  margin-left: -960px;
  padding: 154px 260px 42px;
  transform: scale(var(--articles-scale));
  transform-origin: top center;
}

.articles-section__title {
  margin: 0;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 70px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
}

.articles-tabs {
  width: 550px;
  height: 37px;
  margin: 40px auto 50px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.articles-tabs__item {
  width: 120px;
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 10px;
  background: #f9f7f7;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.articles-tabs__item--wide {
  width: 130px;
}

.articles-tabs__item--active,
.articles-tabs__item:hover {
  background: #f44903;
  color: #fff;
}

/* Tab content panels */
.articles-content {
  position: relative;
}

.articles-grid {
  width: 1400px;
  height: 506px;
  display: none;
  gap: 25px;
  align-items: flex-start;
}

.articles-grid--active {
  display: flex;
}

.articles-grid__empty {
  width: 100%;
  margin: 100px 0;
  color: #49443e;
  font-family: "stolzlbook", sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
}

/* --- Card --- */
.articles-card {
  width: 450px;
  height: 506px;
  flex: 0 0 450px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(80, 85, 136, 0.06);
}

.articles-card__image {
  width: 450px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.articles-card__body {
  display: flex;
  flex-direction: column;
  height: calc(506px - 300px);
  padding: 20px 27px 20px 20px;
}

.articles-card h3,
.articles-card p {
  margin: 0;
  font-weight: normal;
}

.articles-card h3 {
  color: #010300;
  font-family: "stolzlmedium", sans-serif;
  font-size: 20px;
  line-height: normal;
  min-height: 48px;
}

.articles-card p {
  margin-top: 15px;
  color: #49443e;
  font-family: "stolzlbook", sans-serif;
  font-size: 14px;
  line-height: normal;
}

.articles-card__meta {
  display: flex;
  align-items: center;
  gap: 54px;
  margin-top: 16px;
  color: #49443e;
  font-family: "stolzlregular", sans-serif;
  font-size: 16px;
  line-height: normal;
}

.articles-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.articles-card__meta-item::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.articles-card__meta-item--place::before {
  width: 13px;
  height: 16px;
  background-image: url("../img/articles-pin.svg");
}

.articles-card__meta-item--date::before {
  width: 14px;
  height: 14px;
  background-image: url("../img/articles-calendar.svg");
}

.articles-card__link {
  width: 177px;
  min-height: 30px;
  margin-top: 15px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 9px;
  background: #f9f7f7;
  color: #f44903;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}

.articles-card__link:hover {
  background: #f44903;
  color: #fff;
}

.articles-section__all {
  width: 1400px;
  min-height: 60px;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 0;
  border: 0.5px solid #010300;
  border-radius: 8px;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.articles-section__all:hover {
  background: #010300;
  color: #fff;
}

.articles-tabs__item--active {
  background: #f44903;
  color: #fff;
}
