/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  font-family: "Figtree", sans-serif;
  background-color: #f4d04e;
}

/* Card Styles */
.card {
  width: 20.438rem;
  height: 31.313rem;
  background-color: white;
  padding: 1.5rem;
  border: 1px solid gray;
  border-radius: 20px;
  filter: drop-shadow(8px 8px);
}

/* Image Styles */
.illustration-article {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

/* Content Styles */
.category {
  width: auto;
  display: inline-block;
  font-weight: bolder;
  font-size: 0.75rem;
  background-color: #f4d04e;
  margin: 0;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  line-height: 150%;
}

.publish-date {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 150%;
}

.title {
  font-size: 1.25rem;
  line-height: 150%;
}

.desc {
  color: #6b6b6b;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 150%;
}

/* Author Styles */
.author {
  width: 8.063rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 32px;
  height: 32px;
}

.author-name {
  font-size: 0.875rem;
  font-weight: bolder;
  font-style: normal;
}

/* Desktop Styles */
@media only screen and (min-width: 1440px) {
  .card {
    width: 24rem;
    height: 32.625rem;
  }

  .category,
  .publish-date {
    font-size: 0.875rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .title:hover {
    cursor: pointer;
    color: #f4d04e;
  }

  .desc {
    font-size: 1rem;
  }
}

/* Attribution Styles */

/* .attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
} */
