.site-main{
    padding: 24px 0 62px;
    overflow: hidden;
}
.container{
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
}
.container.single-post-container{
    max-width: 840px;
    padding: 0 20px;
}
header, footer{
    overflow: hidden;
}
@media(max-width:767px){
    .site-main{
        padding: 16px 20px 40px;
    }
    .container{
        padding: 0;
    }
    .container.single-post-container{
        padding: 0;
    }
}

article {
    padding-bottom: 40px;
    border-bottom: 1px solid #D5D5D5;
}
.news-category{
    display: inline-block;
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 14px;
    line-height: 1.71;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #536AA4;
    margin-bottom: 15px;
}
.news-title{
    font-family: "Inter-Black", sans-serif;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 26px;
}
.news-meta{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D5D5D5;
    margin-bottom: 55px;
}
.meta-item, .meta-separator{
    font-family: "Inter-SemiBold", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 2;
    color: #7E7E7E;
}
.meta-share {
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
    align-items: center;
    column-gap: 13px;
}
.share-buttons {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    column-gap: 13px;
}
.share-btn{
    display: flex;
    background: transparent;
    border: none;
    padding: 0;
}
@media(max-width: 767px){
    article {
        border-bottom: 1px solid #D5D5D5;
    }
    .news-category{
        margin-bottom: 10px;
    }
    .news-title{
        font-size: 32px;
        line-height: 1.125;
        margin: 0 0 15px;
    }
    .news-meta{
        align-items: stretch;
        column-gap: 0;
        row-gap: 24px;
        margin-bottom: 40px;
    }
    .news-meta-column:first-child,
    .news-meta-column:nth-child(2){
        width: 50%;
        border-bottom: 1px solid #D5D5D5;
        padding-bottom: 5px;
    }
    .news-meta-column:nth-child(3){
        width: 31%
    }
    .news-meta-column:last-child{
        width: 69%;
    }
    .news-meta-column:first-child,
    .news-meta-column:nth-child(3){
        padding-right: 10px;
    }
    .news-meta-column:nth-child(2),
    .news-meta-column:last-child{
        padding-left: 10px;
        text-align: right;
    }
    .share-buttons {
        column-gap: 13px;
    }
}


/* Post Content */
.news-content p{
    font-family: "Inter-Regular", sans-serif;
    font-size: 18px;
    line-height: 1.66;
    color: #333333;
    margin: 0 auto 40px;
    max-width: 610px;
}

.news-content h2{
    font-family: "Inter-Bold", sans-serif;
    font-size: 24px;
    line-height: 1.25;
    color: #333333;
    margin: 0 auto 30px;
    max-width: 610px;
}
.news-content h3, .news-content h4, .news-content h5{
    font-family: "Inter-Bold", sans-serif;
    font-size: 18px;
    line-height: 1.66;
    margin: 0 auto 16px;
    max-width: 610px;
}
:where(figure){
    margin-bottom: 16px;
}
.wp-block-image :where(figcaption),
.wp-element-caption{
    margin: 0;
    text-align: right;
    font-family: "Inter-Regular", sans-serif;
    font-size: 12px;
    line-height: 2;
    color: #7E7E7E
}
.wp-block-image :where(figcaption) a,
.wp-element-caption a{
    color: inherit;
}
.instagram-media{
    max-width: 470px !important;
    margin: 0 auto 54px !important;
    min-width: 300px !important;
}
.news-content p:last-child,
.instagram-media:last-child,
.wp-block-image:last-child,
.news-content h2:last-child, .news-content h3:last-child, .news-content h4:last-child, .news-content h5:last-child{
    margin-bottom: 0;
}
/* Baner */
.wp-block-image.banner{
    width: 100vw;
    margin: 0 calc((100vw - 800px) / -2) 54px;
    background: #F2F2F2;
    padding: 30px 0;
    border-color: #D5D5D5;
    border-width: 1px 0;
    border-style: solid;
}
.wp-block-image.banner:before{
    content: "Oglas";
    position: relative;
    display: block;
    text-align: right;
    max-width: 820px;
    margin: 0 auto;
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 12px;
    line-height: 2;
    color: #7E7E7E;
}
.wp-block-image.banner a{
    max-width: 820px;
    margin: 0 auto;
    display: block;
}
.wp-block-image.banner img{
    max-width: 820px;
}
.wp-block-embed-youtube{
    margin-bottom: 40px;
}
.wp-block-embed iframe{
    width: 100% !important;
    aspect-ratio: 1.78;
    height: auto;
}
@media (max-width: 840px){
    .wp-block-image.banner{
        margin: 0 -20px 40px;
        padding: 0;
        border: none;
        background: transparent;
    }
    .wp-block-image.banner:before{
        margin: 0 20px 0 0;
    }
    .wp-block-image.banner a{
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    .wp-block-image.banner img{
        max-width: 100%;
    }
}

@media(max-width:767px){
    .news-content p{
        font-size: 16px;
        line-height: 1.75;
    }
    :where(figure){
        width: 100vw;
        margin: 0 -20px 16px;
    }
    .wp-block-image :where(figcaption),
    .wp-element-caption{
        margin-right: 20px;
        text-align: right;
        font-family: "Inter-Regular", sans-serif;
        font-size: 12px;
        line-height: 2;
        color: #7E7E7E
    }
    .wp-block-image :where(figcaption) a,
    .wp-element-caption a{
        color: inherit;
    }
}


/* Usko povezane vesti */
.linked-news{
    padding: 40px 0;
    border-bottom: 1px solid #D5D5D5;
}
.linked-news-title{
    font-family: "Inter-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.22;
    color: #333333;
    margin: 0 auto 20px;
    max-width: 610px;
}
.linked-news-list{
    list-style-type: disc;
    margin: 0 auto;
    padding-left: 24px;
    max-width: 610px;
}
.linked-news-list li a{
    font-family: "Inter-Bold", sans-serif;
    font-size: 18px;
    line-height: 1.33;
    color: #333333;
}
.linked-news-list li:not(:last-child){
    margin-bottom: 30px;
}


/* Tagovi */
.news-tags{
    padding: 40px 0;
    border-bottom: 1px solid #D5D5D5;
}
.news-tags-wrapper{
    max-width: 610px;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: center;
    gap: 7px;
    margin: 0 auto;
}
.news-tags-wrapper a{
    display: inline-block;
    padding: 1px 7px;
    background: #F2F2F2;
    border-radius: 4px;
    font-family: "Inter-Regular", sans-serif;
    font-size: 12px;
    line-height: 1.83;
    color: #333333;
}
.news-tags-wrapper a:before{
    content: '#';
    display: inline-block;
    position: relative;
}



/* Related news */
.related-container{
    padding: 80px 20px 0;
}
.related-news-grid{
    padding-bottom: 40px;
    border-bottom: 1px solid #D5D5D5;
}
.related-title{
    font-family: "Inter-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.22;
    text-align: center;
    color: #333333;
    margin: 0 0 30px;
}
.related-post .post-thumbnail{
    position: relative;
}
.related-post .post-category{
    position: absolute;
    top:0;
    left: 0;
    padding: 6px 10px;
    font-family: "Inter-Bold", sans-serif;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    color: white;
}
.related-post .post-thumbnail img{
    width: 100%;
    height: auto;
    aspect-ratio: 1.62;
    object-fit: cover;
}
.related-post .entry-title{
    margin: 7px 0 0;
}
.related-post .entry-title a{
    font-family: 'Inter-Bold', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.22;
    color: #333333;
}

@media(max-width: 767px){
    .related-container{
        padding: 40px 0 0;
        border-bottom: 1px solid #D5D5D5;
    }
    .related-news-grid{
        margin: 0 -20px 0 0;
        width: calc(100% + 20px);
        border: none;
    }
    .related-title{
        display: none;
    }
}

.splide__pagination{
    position: relative;
    inset: unset;
    margin-top: 30px;
    padding: 0 20px 0 0;
    column-gap: 0;
}
.splide__pagination li{
    flex: 1;
}
.splide__pagination li button{
    width: 100%;
    height: 7px;
    border-radius: 0;
    margin: 0;
    background: #F2F2F2;
}
.splide__pagination li .splide__pagination__page.is-active{
    background: #7E7E7E !important;
    transform: none;
}