/*mobile*/
 .blog-content article aside{
        height: 20%;
    }
@media screen and (max-width: 480px ){

     .top-blog-info{
        padding: 3% 8%;
    }
    .top-blog-info-card {
        background-color: var(--white);
        padding: 5%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2.5rem;
    }
    .top-blog-info-card img{
        height: 40vh;
        width: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.5rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: medium !important;
        width: 50%;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
      .blog-content article{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 100%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
        
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }
}






/*Extra Small Devices*/
@media screen and (min-width: 481px) and (max-width: 767px) {
    .top-blog-info{
        padding: 3% 8%;
    }
    .top-blog-info-card {
        background-color: var(--white);
        padding: 5%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2.5rem;
    }
    .top-blog-info-card img{
        height: 40vh;
        width: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.5rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: medium !important;
        width: 50%;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
      .blog-content article{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 100%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
      
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }


}













/*small tablets*/
@media screen and (min-width: 768px) and (max-width: 991px) { 
   .top-blog-info{
        padding: 3% 8%;
    }
    .top-blog-info-card {
        background-color: var(--white);
        padding: 2%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .top-blog-info-card img{
        height: 30vh;
        width: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.5rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: medium !important;
        width: 30%;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
      .blog-content article{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 100%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }
}















/* Large Tablets Laptops*/
@media screen and (min-width: 992px) and (max-width: 1199px) {
      .top-blog-info{
       padding: 3% 8%;
    }
    .top-blog-info-card {
       background-color: var(--white);
        padding: 2%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .top-blog-info-card img{
        height: 40vh;
        width: 40vw;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.4rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: 14px !important;
        width: 30%;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
    .blog-content article{
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 75%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
        
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }
      .blog-content article{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
  
 
}








/*Desktops*/
@media (min-width:1200px) and (max-width: 1919px) {

     .top-blog-info{
        padding: 3% 8%;
    }
    .top-blog-info-card {
        background-color: var(--white);
        padding: 2%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .top-blog-info-card img{
        height: 45vh;
        width: 35vw;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.4rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: 14px !important;
        width: 30% !important;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
    .blog-content article{
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 75%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
        width: 30%;
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }


}








/*Extra Large Screens.*/
@media (min-width: 1920px) {
     .top-blog-info{
        padding: 3% 8%;
    }
    .top-blog-info-card {
        background-color: var(--white);
        padding: 2%;
        box-shadow: 8px 8px 12px grey;
        border-radius: 5px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .top-blog-info-card img{
        height: 45vh;
        width: 40vw;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    
    }
    .top-blog-info-card .details-badge{
        padding: 0.4rem;
        color: var(--darkpurple);
        background-color: var(--secondary);
        font-size: 14px !important;
        width: 30%;
    }
    .top-blog-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
    }
    .blog-content article{
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        width: 100%;
    }
    .blog-content article main{
        width: 75%;
    }
    .blog-content article aside{
        border-radius: 8px;
        padding: 2rem 1rem;
        width: 20%;
        background-color: var(--white);
        box-shadow: 8px 8px 12px gainsboro;
    }
}