.attribution { font-size: 0.6875rem; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }


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

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

.blog__container {
    background-color: white;
    box-shadow: 8px 8px 0px 0px #000000;
    width: 384px;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 30px;
}

.blog__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.details__container {
    padding: 10px 0;
}


.blog__container:hover .blog__category {
    display: inline-block;
}

.blog__category {
    padding: 5px 5px;
    background-color: #F4D04E;
    border-radius: 5px;
    font-size: 0.875rem;
    line-height: 150%; 
    font-weight: 800;
    margin: 5px 0;
    display: none;
}

.blog__subtitle {
     font-size: 0.875rem;
     line-height: 150%;
     font-weight: 500;
     padding: 10px 0;
}

.blog__heading {
    font-size: 1.5rem;
    line-height: 150%;
    font-weight: 800;
}

.blog__heading:hover {
    color:#F4D04E;
    cursor: pointer;
}

.blog__subheading {
    font-size: 1rem;
    line-height: 150%;
    font-weight: 500;
    color: #6B6B6B;
    margin-bottom: 10px;
}

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

.author-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.author-name {
   font-size: 0.875rem;
   font-weight: 800;
   line-height: 150%;
   color: #000000;
}

@media (max-width: 375px) {
    .blog__container {
        width: 90%;
    }
}

