* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Figtree", sans-serif;
  font-size: clamp(12px, 2vw + 0.25rem, 14px);
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: hsl(47, 88%, 63%);
}

.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 384px;
  padding: 24px;
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(0, 0%, 7%);
  border-radius: 20px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
}

.blog-card__img img {
  object-fit: cover;
  width: 100%;
  height: 200px;
  border-radius: 10px;
}
.blog-card__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
}
.blog-card__category {
  background-color: hsl(47, 88%, 63%);
  color: hsl(0, 0%, 7%);
  line-height: 1.5;
  border-radius: 4px;
  padding: 4px 12px;
  font-weight: 800;
}

.blog-card__title a {
  font-size: clamp(20px, 2vw + 1rem, 24px);
  font-weight: 800;
  line-height: 1.5;
  color: hsl(0, 0%, 7%);
  text-decoration: none;
}

.blog-card__title a:focus,
.blog-card__title a:hover {
  color: hsl(47, 88%, 63%);
}
.blog-card__title a:focus-visible {
  outline: 2px solid hsl(228, 45%, 44%);
  outline-offset: 2px;
  border-radius: 6px;
}

.blog-card__description {
  color: hsl(0, 0%, 42%);
  line-height: 1.5;
  font-size: clamp(14px, 2vw + 0.5rem, 16px);
}

.blog-card__author {
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-weight: 800;
}
.blog-card__author img {
  width: 32px;
  height: 32px;
}
