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

body {
    font-family: 'Figtree', sans-serif;
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 16px;
}

.card {
    background-color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 7%);
    border-radius: 20px;
    padding: 24px;
    max-width: 384px;
    box-shadow: 8px 8px 0px hsl(0, 0%, 7%);
    transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 16px 16px 0px hsl(0, 0%, 7%);
}
.card-image-container img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.card-content {
    margin: 24px 0;
}

.tag {
    background-color: hsl(47, 88%, 63%);
    color: hsl(0, 0%, 7%);
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.875rem;
}

.publish-date {
    margin-top: 12px;
    color: hsl(0, 0%, 7%); 
    font-size: 0.875rem;
}

.card-title {
    margin: 12px 0;
    font-size: 1.5rem; 
    font-weight: 800;
}

.card-title a {
    color: hsl(0, 0%, 7%); 
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}


.card-title a:hover {
    color: hsl(47, 88%, 63%); 
}

.card-description {
    color: hsl(0, 0%, 50%); 
    line-height: 1.5;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.author-name {
    font-weight: 800;
    font-size: 0.875rem;
}