.blogwrap * {
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;  
}
.posts_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 20px;

}

@media screen and (min-width: 1280px) {
    .posts_gallery {
        padding: 20px 0;
    }
}

@media screen and (max-width: 768px) {
    #content.sticktohead {
        padding-top: 28px;
    }

    .posts_gallery {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media screen and (max-width: 480px) {
    .posts_gallery {
        grid-template-columns: repeat(1, 1fr);

    }
}

.top-img-bloghome {
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

.top-img-subttile.top-img-bloghome {
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
    font-weight: 400;
}

.blog_modul {
    padding: 10px 0px;
    border-radius: 12px;
    box-sizing: border-box;
}

.blog_modul_link {
    all: unset;
    cursor: pointer;
    display: block;
}

.blog_modul h3 {
    margin: 12px 0 8px 0;
    font-size: 1.4rem;
    color: #444;
    font-weight: 500;
    line-height: 1.3;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;

}


.blog_modul p {
    font-size: 1rem;
    font-weight: 300;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;

}

.blog_modul span {
    color: var(--main-color);
    font-weight: 500;
}

.blog_modul .hero_image_wrap {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;

}

.blog_modul .hero_image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog_modul .hero_image_wrap:hover .hero_image {
    transform: scale(1.05);
}


.backlightgray {
    background-color: white;
}




.top-img-subttile {
    font-size: 2.5rem;
    font-weight: 500;
    margin-top: 20px;
}

.cleanbutton.disabled {
    background-color: #adacac;
    cursor: default
}

.fullwidthbanner>a,
.fullwidthbanner>div {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100vw;
    width: 100dvw;
    padding: 20px 40px;
    background-color: #345750;
    color: #f2dbb1;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

.truck_marquee {
    position: relative;
}

.truck {
    position: absolute;
    display: inline-block;
    font-size: 24px;
    height: 27px;
    animation: truck_marquee 15s linear infinite;
    bottom: 0;
}

.truck_marquee>div {
    max-width: 60%;
    margin: 18px auto;
    font-weight: 400;
}


@keyframes truck_marquee {
    from {
        right: calc(-50vw + 50% - 40px);
    }

    to {
        right: calc(50vw + 50% + 40px);
    }
}

@media only screen and (max-width: 800px) {
    .tab_bar_picker.max_width_500 {
        justify-content: unset;
    }

    .truck {
        animation: truck_marquee 8s linear infinite;
    }

    .truck_marquee>div {
        max-width: 100%;
        margin: 18px auto;
        font-weight: 400;
    }
}

@media only screen and (max-width: 800px) {
    .four_column_grid .vertical_img_modul {
        padding: 0 8px;
        box-sizing: border-box;
    }

    .four_column_grid {
        gap: 5px;
    }
}

@media only screen and (max-width: 600px) {
    .four_column_grid .vertical_img_modul {
        padding: 0 8px;
        box-sizing: border-box;
    }

}


.four_column_grid .cleanbutton {
    font-size: clamp(14px, 2vw, 18px);

}

.top-img-txtcenterbottom {

    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 40px;

}

.top-img-blogttile {
    font-weight: 400;
    max-width: 800px;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
}

@media only screen and (max-width: 768px) {
    .top-img-blogttile {
        font-size: 2.5rem;
    }
}


.top-img-text-author {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 40px;
    position: relative;
}

.top-img-text-author::before {
    content: "";
    width: 80%;

    height: 0.5px;
    position: absolute;
    top: -18px;
    left: 10%;
    background-color: white;
}

.date_and_social_row {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date_and_social_row_date {
    font-size: 0.9rem !important;
    font-weight: 300 !important;
    color: #666 !important;
}

.date_and_social_row_social {
    display: flex;
    gap: 10px;
    
}
.date_and_social_row_social a {
    all: unset;
    cursor: pointer;
    color: gray !important;
}

.fullwidth-top-img {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-height: 600px;
    min-height: 400px;
    height: clamp(400px, 600px, 60vh);
    position: relative;
}

.full_width_top_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}


.top-img-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.49), rgba(0, 0, 0, 0.29));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fullwidth-top-img .top-img-img {
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .top-img-txtwrapper {
        position: absolute;
    }
}

.blog_content {
    max-width: 800px;
    margin: 20px auto;
}

@media screen and (max-width: 768px) {
    .date_and_social_row {
        max-width: 100%;
        padding: 0 30px;
    }

    .blog_content {
        max-width: 100%;
        padding: 10px 30px 20px 30px;
    }
}

.blog_content p {
    color: #444;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
}

.blog_content p b, .blog_content p strong {
    font-weight: 500;
}


.blog_content p+p {
    margin-top: 1.1rem;
}

.blog_content h1 {
    font-size: 24pt;
    color: #333;
    font-weight: 500;
    margin: 40px 0 10px 0;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
}

.blog_content h2 {
    color: #333;
    font-size: 18pt;
    font-weight: 500;
    margin: 40px 0 10px 0;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;

}

.blog_content h3 {
    color: #333;
    font-size: 16pt;
    font-weight: 500;
    margin: 20px 0 10px 0;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;

}

.blog_content h4 {
    font-size: 14pt;
    font-weight: 500;
    margin: 10px 0 5px 0;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
}

.blog_content a {
    text-decoration: underline;
}

.blog_content li {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    font-family: 'Red Hat Text', 'Helvetica Neue', sans-serif;
}

.date_and_social_row_author {
    font-size: 11pt;
    font-weight: 400;
    color: #666;
    position: relative;
}

.date_and_social_row_author::before {
    content: "";
    width: 80%;
    height: 0.5px;
    position: absolute;
    top: -8px;
    left: 0%;
    background-color: #444;
}

.blog_content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

.bento_grid {
    margin: 20px 0;
    padding: 0;
}

.bento_grid img {
    display: inline;
    margin: 0;
    border-radius: 8px;
}

.izradilipokloni_slick .blog_modul {
    padding: 0 10px;
}


.bento-height-400 {
    height: 400px;
}

.bento-height-300 {
    height: 300px;
}

.bento-height-500 {
    height: 500px;
}

.bento-height-600 {
    height: 600px;
}

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

    .bento-height-600,
    .bento-height-500,
    .bento-height-400,
    .bento-height-300 {
        height: unset;
    }

}

.posts_naslovnica {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}


.blog_modul_naslovnica:nth-child(1) {
    grid-column: span 2;
}

.blog_modul_naslovnica:nth-child(2) {
    grid-column: span 1;
}   

.blog_modul_naslovnica:nth-child(3) {
    grid-column: span 1;
}

.blog_modul_naslovnica:nth-child(4) {
    grid-column: span 2;
}


.blog_modul_naslovnica {
    box-sizing: border-box;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px !important;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    padding: 20px;

    color: white;

    background-size: 100% 100%;
}


@media screen and (max-width: 991px) {
    .posts_naslovnica {
        grid-template-columns: repeat(1, 1fr);
    }



    .blog_modul_naslovnica {
        height: 200px !important;
        grid-column: span 1 !important;
    }
}

.blog_modul_naslovnica_button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--main-color-80);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.blog_modul_link:hover .blog_modul_naslovnica_button {
    background-color: var(--main-color);
}