.rix-article-hero {
  width: 100%;
}

.rix-article-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 400px;
  padding: 60px 80px;
  box-sizing: border-box;
}

@media (max-width: 959px) {
  .rix-article-hero__inner {
    justify-content: center;
    min-height: 300px;
    padding: 40px 16px;
  }
}

.rix-article-hero__image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.rix-article-hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rix-article-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0) 40%
  );
  z-index: 1;
}

.rix-article-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #ffffff;
  max-width: 45%;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

@media (max-width: 959px) {
  .rix-article-hero__content {
    text-align: center;
    max-width: 100%;
  }
}

.rix-article-hero__title {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

@media (max-width: 959px) {
  .rix-article-hero__title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 12px;
  }
}

.rix-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 959px) {
  .rix-article-hero__meta {
    justify-content: center;
    margin-bottom: 16px;
  }
}

.rix-article-hero__separator {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: currentColor;
  border-radius: 50%;
}

.rix-article-hero__description {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 700px;
}

.rix-article-hero--no-image {
  background-color: #ffffff;
}

.rix-article-hero--no-image .rix-article-hero__content {
  color: rgba(var(--color-text));
}

.rix-article-hero--no-image .rix-article-hero__description {
  opacity: 0.7;
}
