@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', sans-serif;
    background: #F4D04E;
}

.container {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 327px;
    /* height: 501px; */
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    gap: 24px;
    justify-content: center;
    border: 1px solid black;
    box-shadow: 8px 8px;
}

.blog-image {
    width: 100%;
    margin-bottom: 24px;
}

.card-img {
    /* border-radius: 12px; */
    width: 100%;
    display: block;
    border-radius: 10px; /* sudut atas bulat, bawah sedikit */
    object-fit: cover;
    height: 200px;
    /* margin-bottom: 24px; */
    /* width: 279px; */
    /* min-height: 200px; */
}

.content {
    display: grid;
    gap: 12px;
    color: #111111;
}

.content-category {
    background: #F4D04E;
    width: 73px;
    height: 26px;
    border-radius: 4px;
    padding: 4px 12px;
    /* gap: 8px; */
    font-weight: 800;
    border: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-date {
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
}

.content-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 150%;
}

.content-desc {
    font-size: 14px;
    color: #6B6B6B;
    line-height: 150%;
}

.author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
}

.author img {
    width: 32px;
    height: 32px;
}

.author span {
    filter: drop-shadow(4px #000000 25%);
}

.attribution {
  font-size: 11px;
  text-align: center;
}

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

@media (min-width: 600px) {
  .card {
    max-width: 400px;
    width: 384px;
  }

  .content-desc {
    font-size: 16px;
}
}
