.site-main{
    padding: 30px 0 180px;
}

h1{
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    vertical-align: middle;
    color: #3C3C3C;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    margin: 0 0 40px;
}
h1:after{
    content: "";
    position: relative;
    height: 1px;
    min-width: 10px;
    flex-grow: 1;
    background-color: #3C3C3C4D;
}
.wp-block-heading{
    margin-bottom: 30px;
}
ul.wp-block-list{
    list-style-type: disc;
    padding-left: 24px;
}
ul.wp-block-list:not(:last-child){
    margin-bottom: 14px;
}
.wp-block-paragraph,
.wp-block-list li{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
}
.wp-block-paragraph strong{
    color: #FC8606;
}
.good-luck.wp-block-paragraph{
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: #FC8606;
}

@media(max-width: 1024px){
    h1{
        font-size: 30px;
    }
}
@media(max-width: 767px){
    .site-main{
        padding: 16px 0 90px;
    }
    h1{
        font-size: 24px;
        margin: 0 0 30px;
    }
    .wp-block-heading{
        margin-bottom: 20px;
    }
}



/* Brendovi */
.brends-wrapper{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-template-rows: auto;
    align-items: stretch;
    border: 1px solid #E8E8E84D;
    border-radius: 10px;
    overflow: hidden;
}
.brend-item{
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 1px solid #E8E8E84D;
    background: #353333;
    padding: 20px;
    min-height: 160px;
    transition: all 0.3s ease;
}
.brend-item:hover{
    background: linear-gradient(180deg, #FC8606 -8.45%, #F15A22 100%);
}
@media (max-width: 1024px) {
    .brends-wrapper{
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 767px) {
    .brend-item{
        padding: 20px;
        min-height: 120px;
    }
    .brend-item span,
    .brend-item a{
        text-align: center;
    }
    .brend-item img{
        max-height: 90px;
        max-width: 70%;
        object-fit: contain;
    }
}

/* Obaveštenja */
.notice-item{
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,200px) minmax(0,1fr) minmax(0, 230px);
    align-items: center;
    column-gap: 30px;
    background: white;
    border: 1px solid #3C3C3C4D;
    border-radius: 4px;
    padding: 2.8% 3%;
    color: #3C3C3C;
    transition: background 0.3s ease;
}
.notice-item:not(:last-child){
    margin-bottom: 40px;
}
.notice-item:hover{
    color: white;
    background: linear-gradient(180deg, #FC8606 -8.45%, #F15A22 100%);
    border-color: #F15A22;
}
.notice-item__date{
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    column-gap: 30px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    padding: 12px 30px 12px 0;
    border-right: 2px solid #3C3C3C4D;
}
.notice-item:hover .notice-item__date {
    border-color: #FFFFFF;
}
.notice-item__date svg{
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.notice-item:hover .notice-item__date svg path{
    fill: white;
}
.notice-item__title{
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.notice-item:hover .notice-item__title{
    color: white;
}
.notice-item__link{
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    color: white;
    background: linear-gradient(180deg, #FC8606 -8.45%, #F15A22 100%);
    border-radius: 60px;
    padding: 16px;
    transition: none;
}
.notice-item:hover .notice-item__link{
    background: white;
    color: #3C3C3C;
}
@media(max-width: 1024px){
    .notice-item{
        column-gap: 20px;
        padding: 20px;
    }
    .notice-item:not(:last-child){
        margin-bottom: 30px;
    }
    .notice-item__date{
        column-gap: 20px;
        padding: 12px 20px 12px 0;
        font-size: 18px;
    }
    .notice-item__title{
        font-size: 24px;
    }
}
@media(max-width: 767px){
    .notice-item{
        grid-template-columns: minmax(0,110px) minmax(0,1fr);
        row-gap: 20px;
        padding: 20px 15px;
        column-gap: 15px;
    }
    .notice-item:not(:last-child){
        margin-bottom: 20px;
    }
    .notice-item__date{
        column-gap: 10px;
        font-size: 12px;
    }
    .notice-item__date svg{
        width: 20px;
        height: 20px;
    }
    .notice-item__title{
        font-size: 18px;
    }
    .notice-item__link{
        grid-column: 1 / -1;
        font-size: 14px;
    }
}

/* Premium proizvodi */
.page-description{
    max-width: 660px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 50px;
}
.product-item{
    display: grid;
    grid-template-rows: auto;
    align-items: stretch;
    gap: 30px;
}
.product-item:not(:last-child){
    margin-bottom: 30px;
}
.product-item:nth-child(3n){
    grid-template-columns: minmax(0,1fr) minmax(0,38%);
}
.product-item:nth-child(3n + 1){
    grid-template-columns: minmax(0,38%) minmax(0,1fr);
}
.product-item:nth-child(3n + 2){
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.product-item__content{
    background: #FFFFFF;
    border: 1px solid #3C3C3C4D;
    padding: min(11%, 60px) min(9%, 50px);
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: start;
    row-gap: 30px;
    border-radius: 4px;
    color: #3C3C3C;
}
.product-item:nth-child(3n + 2) .product-item__content{
    background: linear-gradient(202.44deg, #FC8606 28.84%, #F15A22 86.78%);
    color: #FFFFFF;
    border-color: #F15A22;
}
.product-item__content h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.product-item:nth-child(3n + 2) .product-item__content h2{
    color: #FFFFFF;
}
.product-item__content p{
    font-weight: 400;
    font-size: 18px;
    line-height: 1.22;
}
.product-item__content a{
    display: inline-block;
    padding: 16px;
    width: 100%;
    max-width: 260px;
    background: linear-gradient(202.44deg, #FC8606 28.84%, #F15A22 86.78%);
    border-radius: 60px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    margin-top: auto;
    transition: none;
}
.product-item:nth-child(3n + 2) .product-item__content a{
    background: #FFFFFF;
    color: #3C3C3C;
}
.product-item__content a:hover,
.product-item:nth-child(3n + 2) .product-item__content a:hover{
    background: #3C3C3C;
    color: #FFFFFF;
}
.product-item__image{
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}
.product-item:nth-child(3n) .product-item__image{
    order: -1;
}
.product-item__image img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-products-wrapper{
    margin-top: 120px;
}
.related-products-wrapper h2{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    column-gap: 5px;
}
.related-products-wrapper h2:after{
    content: "";
    position: relative;
    height: 1px;
    min-width: 10px;
    flex-grow: 1;
    background-color: #3C3C3C4D;
    margin-left: 15px;
}

@media(max-width: 1024px){
    .product-item{
        gap: 20px;
    }
    .product-item:not(:last-child){
        margin-bottom: 20px;
    }
    .product-item__content{
        padding: 30px 20px;
        row-gap: 20px;
    }
    .product-item__content h2{
        font-size: 30px;
    }
    .product-item__content p{
        font-size: 16px;
    }
    .related-products-wrapper{
        margin-top: 80px;
    }
}
@media(max-width: 767px){
    .page-description{
        font-size: 14px;
        margin-bottom: 30px;
    }
    .product-item{
        grid-template-columns: minmax(0,1fr) !important;
        row-gap: 10px;
    }
    .product-item__content{
        order: -1;
    }
    .product-item__content h2{
        font-size: 24px;
    }
    .product-item__content p{
        font-size: 14px;
    }
    .product-item__content a{
        font-size: 14px;
    }
    .product-item:not(:last-child){
        margin-bottom: 30px;
    }
    .product-item__image{
        aspect-ratio: 1.51;
    }
    .related-products-wrapper{
        margin-top: 50px;
    }
    .related-products-wrapper h2{
        margin-bottom: 20px;
    }
}

/* 404 page */
.error404{
    background: #202020;
}
.page-404{
    background-color: #202020;
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: 0;
}
.page-404 > .container{
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
    height: 100%;
    padding-top: 200px;
    padding-bottom: 200px;
}
.page-404 .rank-math-breadcrumb {
    position: absolute;
    inset: 30px 15px auto;
}
.page-404 .rank-math-breadcrumb p{
    color: #FFFFFF80;
}
.page-404 .rank-math-breadcrumb .last{
    color: #FFFFFF;
}
.page-404 h1{
    display: block;
    font-weight: 400;
    font-size: 90px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin-bottom: 30px;
}
.page-404 h1 span{
    display: block;
    font-weight: 400;
    font-size: 0.44em;
    line-height: 0.63em;
    letter-spacing: -0.5px;
}
.page-404 .page-content p{
    margin: 0 0 50px;
    max-width: 440px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.375;
    color: #FFFFFF;
}
.page-404 .page-content a{
    display: inline-block;
    padding: 16px;
    width: 100%;
    max-width: 260px;
    background: linear-gradient(202.44deg, #FC8606 28.84%, #F15A22 86.78%);
    border-radius: 60px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    margin-top: auto;
    transition: none;
}
.page-404 .page-content a:hover{
    background: #FFFFFF;
    color: #3C3C3C;
}
@media(max-width: 1200px){
    .page-404 > .container{
        padding-top: 150px;
        padding-bottom: 150px;
    }
}
@media(max-width: 1024px){
    .page-404 > .container{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .page-404 h1{
        font-size: 70px;
    }
}
@media(max-width: 767px){
    .page-404 > .container{
        padding-bottom: 60px;
    }
    .page-404 h1{
        font-size: 40px;
    }
    .page-404 .page-content p{
        margin: 0 0 30px;
        max-width: 400px;
        font-size: 14px;
    }
    .page-404 .page-content a{
        font-size: 14px;
    }
    .page-404{
        background-size: 130% auto;
    }
    .page-404 .rank-math-breadcrumb {
        inset: 16px 15px auto;
    }
}

/* Karijera */
.page-id-7444 .wp-block-columns{
    gap: 0;
    align-items: stretch;
    border: 1px solid #3C3C3C4D;
}
.page-id-7444 .wp-block-column{
    padding: 5% 4.5%;
}
.page-id-7444 .wp-block-column:first-child{
    background: white;
}
.page-id-7444 .wp-block-column:last-child{
    background: #202020;
}
.page-id-7444 .wp-block-column h2{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
    letter-spacing: 1.5px;
}
.page-id-7444 .wp-block-column h2 strong{
    display: block;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
}
.page-id-7444 .wp-block-column:last-child h2{
    margin-top: 14px;
}
.page-id-7444 .fluentform .ff-el-group{
    margin-bottom: 30px;
}
.page-id-7444 .fluentform{
    width: 100%;
}
.page-id-7444 .ff-default .ff-el-input--label label{
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.21;
    margin-bottom: 10px;
}
.page-id-7444 .ff-default .ff-el-form-control{
    border-radius: 60px;
    padding: 16px 22px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.21;
    color: #3C3C3C;
}
.page-id-7444 .ff-default textarea.ff-el-form-control{
    border-radius: 15px;
    height: 150px;
}
.page-id-7444 .fluentform .ff_upload_btn.ff-btn {
    width: 100%;
    border-radius: 60px;
    background: linear-gradient(360deg, #3172FF 0%, #1D4599 100%);
    border: none;
    color: #fff;
    padding: 14px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}
.page-id-7444 .fluentform .ff_upload_btn.ff-btn:after{
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20width='29'%20height='24'%20viewBox='0%200%2029%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M24.25%2022.75V13.75M20.75%2017.5L24.25%2013.75L27.75%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M14.25%2021.75H3.75C2.09314%2021.75%200.75%2020.4069%200.75%2018.75V3.75C0.75%202.09314%202.09314%200.75%203.75%200.75H10.6287C11.0265%200.75%2011.4081%200.90804%2011.6894%201.18934L14.25%203.75H24.75C26.4069%203.75%2027.75%205.09314%2027.75%206.75V9.75'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    position: relative;
    vertical-align: middle;
    margin-left: 20px;
    display: inline-block;
    width: 27px;
    height: 22px;
    object-fit: contain;
}
.page-id-7444 .ff-el-group.ff-custom_html{
    max-width: 382px;
    font-weight: 300;
    font-size: 10px;
    line-height: 1.2;
    color: #FFFFFF;
}
.page-id-7444 .fluentform .ff_t_c{
    font-weight: 400;
    font-size: 12px;
    line-height: 1.33;
    color: #FFFFFF;
}
.page-id-7444 .ff-uploaded-list:empty{
    margin-top: 0 !important;
}
.page-id-7444 .fluentform .ff-el-group.ff-el-input--content{
    margin-bottom: 10px;
}
.page-id-7444 .ff-default .ff_btn_style {
    border:none;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    padding: 16px;
    width: 100%;
    max-width: 260px;
    background: linear-gradient(180deg, #FC8606 -8.45%, #F15A22 100%);
    margin-top: 20px;
}

@media(max-width: 1024px){
    .page-id-7444 .wp-block-columns{
        flex-flow: column nowrap;
    }
    .page-id-7444 .wp-block-column{
        width: 100%
    }
    .page-id-7444 .wp-block-column h2 strong,
    .good-luck.wp-block-paragraph{
        font-size: 22px;
    }
    .page-id-7444 .fluentform .ff-el-group {
        margin-bottom: 15px;
    }
    .page-id-7444 .ff-el-group.ff-custom_html {
        max-width: 100%;
    }
}