.featured-article {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-6);
}

.featured-image {
  position: relative;
  height: 535px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-7);
  border-radius: 5px;
}

.featured-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  border-radius: 5px;
}

.featured-image h3 {
  position: relative;
  z-index: 1;
  color: var(--grey-200);
  font-family: "Inter";
  font-size: 36px;
  font-weight: 600;
  border-bottom: 2px solid var(--teal-50);
  width: 100%;
  text-align: left;
  padding-bottom: var(--spacing-5);
}

.featured-info-box {
  background-color: var(--grey-200);
  padding: var(--spacing-7);
  height: 535px;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: 5px;
}

.featured-box-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-7);
  margin-bottom: var(--spacing-7);
}

.featured-box-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-800);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.featured-box-header .header-line {
  flex: 1;
  height: 2px;
  background-color: var(--teal-vibrant);
}

.featured-info-box .article-tag {
  color: var(--teal-400);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--spacing-5);
}

.featured-info-box .article-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: var(--spacing-5);
}

.article-excerpt {
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: var(--spacing-7);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 14;
  line-clamp: 14;
}

.article-meta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-400);
}

@media (max-width: 900px) {
  .featured-article {
    grid-template-columns: 1fr;
    gap: var(--spacing-5);
    padding-inline: var(--spacing-7);
    box-sizing: border-box;
  }

  .featured-image {
    height: 535px;
    padding: var(--spacing-5);
    box-sizing: border-box;
  }

  .featured-image h3 {
    font-size: 32px;
    line-height: 1.1;
    padding-bottom: var(--spacing-4);
    overflow-wrap: break-word;
    word-break: normal;
  }

  .featured-info-box {
    width: 100%;
    min-width: 0;
    min-height: auto;
    height: auto;
    padding: var(--spacing-5);
    box-sizing: border-box;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .featured-box-header {
    gap: var(--spacing-5);
    margin-bottom: var(--spacing-5);
  }

  .featured-box-header h4 {
    font-size: 12px;
    white-space: nowrap;
  }

  .featured-info-box .article-tag {
    max-width: 100%;
    font-size: 10px;
    margin-bottom: var(--spacing-3);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .featured-info-box .article-title {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: var(--spacing-3);
    overflow-wrap: break-word;
    word-break: normal;
  }

  .featured-info-box .article-excerpt {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: var(--spacing-4);
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .featured-info-box .article-meta {
    margin-top: var(--spacing-5);
    font-size: 12px;
  }
}