



/* dodane ponziej do domyslny css kart blogowych
} */


.blog-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}


.blog-card img {
    max-width: 40%;
}


/* Dodaj tę właściwość   .blog-card:hover{
    border: 3px solid #aaa
} */

.blog-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    display: inline-block; /* Dodaj tę właściwość */
    margin-bottom: 10px;

}

.blog-subtitle {
    font-size: 45px;
    font-weight: 700;
    font-family: 'Epilogue', sans-serif;
    display: block; /* Dodaj tę właściwość */
    margin-top: -10px; 
}

.btn-news {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
    color: #c0c0c2;
    text-decoration: none;
}






.btn-news a:hover{
    text-decoration: underline;
}

.news-box{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.btn-blog{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    color: #aaa;
}


.btn-blog:hover{
  color: #ddd;
}






.date-post {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    color: #c0c0c2;  
 }

 .date-post i {
    margin-bottom: 1px;
}

.date-post span {
    margin-top: 1.5px; /* Dostosuj ten margines do pożądanego położenia */
}


.title-post {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}



.blog-post{
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
}





/* Wąskie ekrany (poniżej 1050px) */
@media (max-width: 1200px) {
    .title-post {
        font-size: 16px;
    }
}


   /* Poniżej 992px karty blogowe układają się w jednej kolumnie */
   @media (max-width: 992px) {
   

    .blog-column {

        flex-basis: 100%;
        max-width: 100%;
    }

    .blog-title{
        display: none;
    }

    .btn-news {
      justify-content: flex-start;
      margin-top: 0rem !important;
    
    }


    .news-box{
        display: flex;
        justify-content: flex-start;
    }


    .news-column {
        display: flex;
        flex-direction: column;
}


.blog-subtitle{
    font-size: 38px;
}



}




  /* Poniżej 768px zmiana układu kart */
  @media (max-width: 768px) {
    .blog-card .d-flex {
        flex-direction: column;
        justify-content: flex-start;
        
    }

    .blog-card img {
        margin-bottom: 10px;
        max-width: 100%;
    }


    .date-post {
        text-align: left; /* Tekst daty w lewo */
        margin-top: 5px;
    }   


    .blog-post{
       display: flex;
       flex-direction: column;
       align-items: flex-start;
       margin-left: 0.5rem !important;
       margin-right: 0rem !important; 
    }
    

    .blog-subtitle{
        font-size: 32px;
    }
    
}