.lista__tekstova {
    padding-bottom: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.lista__tekstova--tekst {
    width: 48%;
    height: 180px;
    margin-bottom: 20px;
    position: relative;
    display: block;
    background-image: url(./assets/fake-brick.png);
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.lista__tekstova--tekst:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.lista__tekstova--tekst .portal-cat {
    z-index: 100;
}

@media only screen and (max-width: 711px) {
    .lista__tekstova--tekst {
        width: 100%;
        height: 160px;
        overflow: hidden;
    }
    .lista__tekstova--tekst .portal-cat {
        top: 1px;
        left: 1px;
    }
}

.lista__tekstova--tekst .portal-cat {
    z-index: 100;
}

.lista__tekstova--tekst:hover .lista__tekstova--tekst-img {
    width: 100%;
    clip-path: polygon(0 0, 100% 0%, 92% 100%, 0% 100%);
    filter: brightness(0.9);
}

.lista__tekstova--tekst-img {
    width: 45%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
    filter: brightness(0.5);
    transition: all 0.4s ease-in-out;
}

.lista__tekstova--tekst-holder {
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
    padding-left: 10px;
    color: white;
    display: flex;
    flex-direction: column;
}

.lista__tekstova--tekst-holder h3 {
    padding-top: 12px;
    padding-left: 80px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.lista__tekstova--tekst-holder span {
    background-color: rgba(0, 0, 0, 0.7);
    padding-left: 8px;
}

.lista__tekstova--tekst-holder:hover {
    background-color: inherit;
}

.lista__tekstova--tekst:hover .tekst-holder--desc {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

.tekst-holder--desc {
    width: 100%;
    font-size: 90%;
    line-height: 1.2;
    padding: 10px;
    text-shadow: 0 0 1px #000;
    transition: all 0.3s ease-in;
}

.tekst-date {
    padding-right: 10px;
    font-size: 80%;
}

.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}

/* create the ... */

.block-with-text:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0;
    bottom: 0;
}

/* hide ... if we have text, which is less than or equal to max lines */

.block-with-text:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 0;
    /* set width and height */
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    /* bg color = bg color under block */
    background: white;
}

/* --------------------- TEKSTOVI I ARTICLES  */

.left-content--articles {
    background-color: rgba(0, 0, 0, 1);
}

.article-top-section {
    display: flex;
    padding-top: 30px;
    position: relative;
    z-index: 50;
    min-height: 380px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.articles-title {
    flex: 0 1 90%;
    margin: 0 auto;
    margin-left: 35px;
    padding: 0 15px;
    background-image: url(assets/fake-brick.png);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    transition: all 0.3s ease-in;
    display: table;
}

.articles-title img:first-of-type {
    width: calc(100% + 24px);
    height: 400px;
    position: absolute;
    z-index: -1;
    top: -15px;
    left: -15px;
    object-fit: cover;
    object-position: center -60px;
    transition: all 0.3s ease-in;
    padding: 20px 20px 20px 20px;
    background-image: url(assets/fake-brick.png);
    background-color: rgba(40, 40, 40, 0.3);
}

.article-top-section:hover .articles-title {
    background-color: rgba(0, 0, 0, 0.7);
}

.article-top-section:hover .articles-title img:first-of-type {
    padding: 2px;
}

.articles-title .portal-cat {
    left: 5px;
}

.articles-title h2 {
    font-size: 300%;
    line-height: 1.3;
    padding: 10px 0;
}

.articles-title h3 {
    font-weight: 400;
}

.articles-title span {
    border-top: 1px ridge orange;
    font-size: 100%;
    display: inline-block;
    margin-top: 20px;
    padding-top: 5px;
}

.fb-share-button>span {
    margin-top: 0;
    border-top: none;
    margin-bottom: 10px;
    margin-left: 10px;
}

.articles-title span p {
    margin-bottom: 3px;
    display: inline-block;
}

.articles-text {
    margin-top: 20px;
    padding-bottom: 10px;
    font-family: 'Noto Sans', 'Changa', sans-serif;
    color: whitesmoke;
}

.articles-text p {
    line-height: 1.9;
    margin: 0 25px;
    padding: 10px 30px;
}

.articles-text p:last-of-type {
    margin: 40px 0 0 0;
    background-image: url(assets/fake-brick.png);
}

.articles-text .p-bold {
    font-weight: bold;
    color: rgb(255, 200, 98);
    font-size: 110%;
}

.p-bold-center-big {
    font-weight: bold;
    color: rgb(255, 200, 98);
    font-size: 160%;
    text-align: center;
    padding: 0 30px 0 30px !important;
}

.p-sub-title {
    padding: 0 30px 0px 30px !important;
    font-size: 140%;
    text-align: center;
    line-height: 1.2 !important;
}

.p-sub-title-small {
    padding: 0 30px 10px 30px !important;
    font-size: 110%;
    text-align: center;
    line-height: 1.1 !important;
}

.articles-text .p-italic {
    font-style: italic;
    border-left: 1px solid white;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.articles-text p a {
    color: orange;
}

.articles-text img {
    width: 100%;
    margin: 5px 0;
    transform: scale(0.95);
    border-radius: 5px;
    padding: 20px;
    background-image: url(assets/fake-brick.png);
    transition: all 0.3s ease-in-out;
    background-color: rgba(40, 40, 40, 0.3);
}

.articles-text .half-image {
    width: 40%;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
}

.articles-text img:hover {
    transform: scale(1.05);
}

.articles-text iframe {
    width: 100%;
    margin: 10px 0;
    padding: 20px;
    background-image: url(assets/fake-brick.png);
    transition: all 0.3s ease-in-out;
    background-color: rgba(40, 40, 40, 0.3);
}

.p-band-frame {
    text-align: center;
}

.band-frame {
    max-width: 720px;
    width: 100%;
    border: none;
    height: 160px;
}

/* ----- article author  */

.articles-author {
    min-width: 80px;
    position: absolute;
    top: 5px;
    right: 10px;
}

.articles-author img {
    width: 80px;
    border-radius: 10% 0 10% 50%;
    filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.4));
    border: 2px solid rgb(253, 253, 253);
}

@media only screen and (max-width: 601px) {
    .articles-title h2 {
        font-size: 150%;
        line-height: 1.4;
    }
    .articles-author {
        min-width: 70px;
        position: relative;
    }
    .articles-author img {
        width: 70px;
    }
    .articles-text p {
        line-height: 1.6;
        font-size: 90%;
        margin: 0 12px;
        padding: 8px 12px;
    }
    .article-top-section {
        min-height: 200px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .articles-title img:first-of-type {
        height: 220px;
        object-position: center;
        padding: 10px;
    }
    .articles-text img {
        width: 100%;
        transform: scale(1);
        padding: 5px;
    }
    .articles-text .half-image {
        width: 90%;
    }
    .p-band-frame {
        padding: 0 !important;
        margin: 0 !important;
    }
    .p-bold-center-big {
        font-size: 130% !important;
        ;
    }
    .p-sub-title {
        font-size: 120% !important;
        ;
    }
}