@charset "utf-8";

/* Copyright ENDEA */


/* --- Post --- */

.post {
    padding-right: 0px;
}

.post-bcg-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.post-bcg {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-bcg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
}

.post-bcg-info {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(41, 54, 58, 0.7);
    color: #AAA;
    font-size: 10px;
    border-radius: 0px;
    padding: 2px 5px;
    line-height: 1;
    display: none;
}

.post-info {
    margin-top: 0px;
    padding: 10px 0;
    border-left: 2px solid #c49c64;
    margin-bottom: 20px;
    background: #fafafa;
    border-radius: 0px;
}

.post-info-item {
    padding: 0 0 0 15px;
    margin-bottom: 7px;
}

.post-info-item-desc {
    font-size: 11px;
}

.post-info-item-data {
    font-size: 13px;
}

.post-info-author {
    margin-bottom: 0px;
}

.post-info-author .post-info-item-data {
    font-weight: 300;
}

.post-title h1,
.post-title-static h1 {
    position: static;
    color: #C49C64;
    font-weight: 300;
}

.post h2, .post h3, .post h4  {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post h2  {
    padding-bottom: 20px;
    font-weight: 300;
    border-bottom: 1px solid #c49c64;
}

.post p {
    margin: 0 0 20px
}

.post a {
    border-bottom: 2px dotted #005F97;
}

.post ul li, .post ol li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.post ul {
    list-style-image: url(../img/list-image1.svg);
    padding-left: 35px;
}
.post ul li {
    padding: 3px 0 5px 10px;
    border-bottom: 0px;
}

.post b, .post strong {
    font-weight: 700;
}

.post img {
    border-radius: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}


@media (min-width: 992px) {

    .post {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .post-info {
        margin-top: 30px;
    }

    .post-bcg-info {
        font-size: 11px;
    }
    
    .post-title h1 {
        position: absolute;
        bottom: 0;
        margin-bottom: 0px;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        padding: 30px 35px;
        background: rgba(255,255,255,1);
        z-index: 2;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    
}

@media (min-width: 1200px) {

    .post-bcg {
        aspect-ratio: auto;
        height: 500px;
    }
 
}

@media (min-width: 1400px) {

    .post-bcg {
        aspect-ratio: auto;
        height: 550px;
    }
 
}



/* --- posts: all (boxes / lists )  --- */

.posts-item {
    border: 0px solid #CCCCCC;
    border-radius: 0px;
    overflow: hidden;
    padding: 0px;
    background: #FFF;
    transition: border 0.3s ease-out;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    transition: all .3s ease-in-out;
}

.posts-item:hover,
.posts-item:focus {
    border: 0px solid #c49c64;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}

.posts-item-img {
    width: 100%;
    aspect-ratio: 20/9;
    overflow: hidden;
    margin-bottom: 30px;
}

.posts-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

.posts-item-heading h2 {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
    text-align: left;
    color: #c49c64;
}

.posts-item-category {
    font-size: 14px;
    margin-bottom: 10px;
}

.posts-item-part {
    font-size: 15px;
    margin-top: 20px;
}


/* posts: boxes --- */

.posts-boxes {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 45px;
    padding-bottom: 30px;
}

.posts-boxes .posts-item {
    width: 100%;
}

.posts-boxes .posts-item-img {
    margin-bottom: 0px;
}

.posts-boxes .posts-item-data {
    padding: 30px 30px 30px 30px;
}

@media (min-width: 768px) {

    .posts-boxes {
        flex-direction: row;
    }

    .posts-boxes .posts-item {
        width: calc((100% - 90px) / 3);
    }

}


/* posty: lista --- */

.posts-list .posts-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
}

.posts-list .posts-item-img {
    align-self: center;
}

.posts-list .posts-item-part {
    margin-bottom: 10px;
}


@media (min-width: 484px) {

    .posts-list .posts-item {
        flex-direction: row;
    }

    .posts-list .posts-item-img {
        aspect-ratio: auto;
        width: 150px;
        height: 150px;
        margin-right: 30px;
        margin-bottom: 0;
        align-self: flex-start;
        flex-shrink: 0
    }

    .posts-list .posts-item-data {
        flex-grow: 1
    }

}


.read-also {
    font-weight: bold;
    margin: 40px 0;
}


/* --- promowane posty - sekcja (strona główna) --- */

.promo-posts-section {
    margin-top: 60px;
    padding-bottom: 40px;
}

.promo-posts-section h2 {
    margin: 40px 0 30px 0;
    padding: 0;
    font-size: 22px;
    text-align: center;
}

.promo-posts-section .posts-item-heading h2 {
    text-align: left;
}

.promo-posts-section .posts-boxes .posts-item-data{
    padding: 0 30px 30px 30px;
}

/* posty: zobacz wszystkie */

.posts-see-all {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 20px;
}

.posts-see-all a {
    background: #c49c64;
    color: #FFF;
    font-weight: 300;
    padding: 15px 30px;
    transition: all 0.3s ease-in-out;
    border-radius: 0px;
}

.posts-see-all a:hover,
.posts-see-all a:focus
{
    background: #828282;
    color: #fff;
}
