/* Main Page First Block */

.home #main-container #category-posts-shortcode-11-golovne-za-tyzhden h1.widget-title {
    display: none;
}

.home #main-container #category-posts-shortcode-11-golovne-za-tyzhden ul li.cat-post-item .cat-post-thumbnail .cat-post-crop {
    display: none;
}

.home #main-container #category-posts-shortcode-11-golovne-za-tyzhden ul li:first-child .cat-post-thumbnail .cat-post-crop {
    display: block;
}

.home #main-container #category-posts-shortcode-11-golovne-za-tyzhden ul li:first-child .cat-post-thumbnail {
    margin-bottom: 15px;
}

.home #main-container .hero-section {
    margin-bottom: 10px !important;
}

.home #main-container #category-posts-shortcode-11-golovne-za-tyzhden .cat-post-item .cat-post-date.post-date {
    padding-top: 5px;
}

/* END Main Page First Block */




/* Main Page Blocks 1+3 ALL */

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul {
    display: grid;
/*    grid-template-rows: 1fr 1fr 1fr;*/
    grid-template-rows: auto auto 1fr;
    grid-template-columns: 50% 50%;
    gap: 5px;
    height: 100%;
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item {
    padding: 0px 0px 8px 10px; 
    margin: 0px;   
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item div {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    min-height: 90px;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item a.cat-post-title {
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item .cat-post-date.post-date {
    display: block;
    width: 100%;    
    padding-top: 5px; 
}

/* ............ not first-child | not first-child - 3blocks in ALL */

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) a.cat-post-thumbnail {
    position: absolute;
    margin: 0px 10px 5px 0;  
    height: auto;
    float: none;
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) a.cat-post-thumbnail .cat-post-crop img {
    object-fit: cover;
    max-width: 100%;
    display: block;
    width: 120px;
    max-width: 120px;    
/*    aspect-ratio: 16/9;  */
    height: auto;      
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) a.cat-post-title {
    padding-left: 130px;
    padding-top: 1px;
    font-size: 15px;
/*    line-height: 1.3;   */
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) .cat-post-date.post-date {
    padding-left: 130px;
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) div {
    min-height: 90px;
}

/* ............ not first-child | first-child - First block in ALL */

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 2; 
    padding: 0px 10px 0px 0px;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-thumbnail {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    margin: 0px;    
    width: 100%;    
    max-width: 100%;
    float: none;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-thumbnail .cat-post-crop {
    width: 100%;    
    max-width: 100%;
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-thumbnail .cat-post-crop img {
    width: 100%;    
    max-width: 100%;
    height: 100%;    
    aspect-ratio: 4/3;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-title {
    padding: 10px 0px 0px 0px;
    word-break: break-word;    
}

.home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child .cat-post-date.post-date {
    padding-left: 0px;    
}


/* EMD Main Page Blocks 1+3 ALL */




/* Main Page Block "Korisni porady" */

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul {
/*    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);*/
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 50% 50%;
/*    gap: 5px;*/
    column-gap: 5px;
    row-gap: 20px;
    height: 100%;
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady .cat-post-item {
    padding: 0px;    
    margin: 0px; 
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li:first-child {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2; 
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li:nth-child(odd) {
    padding-right: 10px;
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li:nth-child(even) {
    padding-left: 10px;
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li.cat-post-item a.cat-post-thumbnail {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    margin: 0px;    
    width: 100%;    
    max-width: 100%;
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li.cat-post-item a.cat-post-thumbnail .cat-post-crop {
    width: 100%;    
    max-width: 100%;
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li.cat-post-item a.cat-post-thumbnail .cat-post-crop img {
    border-radius: 8px!important;
    width: 100%; 
    max-width: 100%;       
    vertical-align: middle;
    height: auto;
    aspect-ratio: 4/3; 
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li.cat-post-item a.cat-post-title {
    padding: 10px 0px 0px 0px;
    word-break: break-word;  
    font-size: 16px;
/*    line-height: 1.3; */
}

.home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li.cat-post-item .cat-post-date.post-date {
    padding-left: 0px;
/*    margin-bottom: 20px;*/
}

/* END Main Page Block "Korisni porady" */

@media screen and (max-width: 1000px) {

/*    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul {
        column-gap: 5px;
        row-gap: 15px;
    }*/

    .home #main-container .entry-content #category-posts-shortcode-11-porady .cat-post-item a.cat-post-title {
        width: 100%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;    
    }

}

@media screen and (max-width: 700px) {

    /* Main Page First Block */

    .home #main-container #category-posts-shortcode-11-golovne-za-tyzhden ul li:first-child .cat-post-thumbnail {
        margin-bottom: 15px !important;
    }

    .home #main-container #category-posts-shortcode-11-golovne-za-tyzhden ul li:first-child .cat-post-thumbnail .cat-post-crop img.wp-post-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    .home #main-container #category-posts-shortcode-11-golovne-za-tyzhden .cat-post-item .cat-post-date.post-date {
        padding-top: 0px;
    }    

    /* END Main Page First Block */


    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul,
    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul {
        grid-template-rows: 1fr;
        grid-template-columns: auto;
    }


    /* Main Page Blocks 1+3 ALL */

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item,
    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child {
        padding: 0px 0px 4px 0px; 
        margin: 0px;   
    }


    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-thumbnail {
        position: absolute;
        margin: 0px 10px 5px 0;  
        height: auto;
        float: none;
    }

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child div,
    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) div {
        min-height: 80px;
    }

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-thumbnail .cat-post-crop img,
    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) a.cat-post-thumbnail .cat-post-crop img {
        object-fit: cover;
        max-width: 100%;
        display: block;
        width: 100px;
        max-width: 100px;    
        height: auto;      
    }

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child a.cat-post-title,
    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) a.cat-post-title {
        padding-left: 110px;
        padding-top: 1px;
        font-size: 15px;
        /*    line-height: 1.3;   */
    }

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:first-child .cat-post-date.post-date,
    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul li:not(:first-child) .cat-post-date.post-date {
        padding-left: 110px;
    }

    /* EMD Main Page Blocks 1+3 ALL */


    /* Main Page Block "Korisni porady" */

    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li:nth-child(odd),
    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul li:nth-child(even) {
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 20px;
    }

    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul {
        column-gap: 5px;
        row-gap: 5px;
    }


    .home #main-container .entry-content #category-posts-shortcode-11-porady .cat-post-item a.cat-post-title {
        -webkit-line-clamp: 3;    
    }

    /* END Main Page Block "Korisni porady" */

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item div {
        min-height: unset; 
    }


    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item a.cat-post-title {
        padding-left: 0px;
        width: 100%;
    }

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) .cat-post-item .cat-post-date.post-date {
        padding-left: 0px;
        padding-top: 0px;
        width: 100%;        
    }


    .archive.category .entries .post:first-child .ct-image-container {
        margin-bottom: 15px !important;
    }

    .archive.category .entries .post:not(:first-child) .ct-image-container {
        display: none;
    }

    .archive.category .entries .post .card-content .entry-title {
        margin-bottom: 5px;
    }

}


@media screen and (max-width: 500px) {

    .home #main-container .entry-content .category-posts-shortcode:not(:first-child) ul,
    .home #main-container #main .entry-content #category-posts-shortcode-11-porady ul {
        grid-template-rows: 1fr;
        grid-template-columns: auto;
    }

}
