.simple-head-block,
.simple-text-block-sub,
.simple-text-block,
.photo2-block,
.wp-block-andrej-gjurin-nastev,
.counter-block,
.featured-case-container,
.photo3-block,
.photo1-container,
.rowblock-container,
.alineja-container,
.indent-container-r,
.indent-container-l,
.studije-container-r {
    margin-bottom: 100px !important;
}

/* ROW BLOCK*/

.row-block {
    border-bottom: #3B3B3B solid 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 10px;
}
/* SMS PAGE HEADING */

.row-block-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: #3B3B3B solid 2px;
}

.head-top-text {
    margin: 0;
}

.head-img-txt-wrap {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.head-cases-text {
    margin: 0;
    color: #3B3B3B;
    font-weight: bold;
    font-size: 27px;
}

.head-bottom-text {
    color: #3B3B3B;
    margin-top: 10px;
    font-size: 27px;
}

/* ALINEJE */

.alineja-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 20px;
}

.alineja-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.alineja-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #3B3B3B;
    width: 50%;
}

.alineja-initial-text {
    margin: 0;
}

.alineja-catch-phrase {
    display: flex;
    font-weight: bold;
    font-size: 33px;
    margin: unset;
    text-align: center;
    width: 25%;
    color: #3B3B3B;
    margin-right: 3em;
    align-items: center;

}

.alineja-lines {
    margin-top: 33px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    color: #3B3B3B;
}

.alineja-line {
    display: flex;
    align-items: baseline;
    gap: 19px;
}

.alineja-icon {
    width: 20px;
    height: auto;
}

.alineja-text {
    margin: unset;
}

.alineja-pic,
.indent-subtitle-l,
.indent-subtitle-r {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 19px;
    font-size: 20px;
}

.indent-rows-r,
.indent-rows-l{
    align-self: center;
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

.indent-container-r {
    display: flex;
    justify-content: space-between;
    gap: 59px;
    color: #3B3B3B;
}

.indent-container-l {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 59px;
    color: #3B3B3B;
}

.indent-title-r,
.indent-title-l {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 23px;
}

.holder-alineje-r {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 20px;
}

.indent-image-r,
.indent-image-l,
.indent-image-sub-l,
.indent-image-sub-r {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* AFTER H1*/

.simple-text-block {
    display: flex;
    flex-direction: column;
    font-size: 27px;
    color: #3B3B3B;
}

.simple-text-block p{
    font-size: 27px;
}

.simple-text-block .top-text,
.top-text-title {
    margin-bottom: 0px;
    border-bottom: #3B3B3B 2px solid;
}

.simple-text-block-sub {
    display: flex;
    flex-direction: column;
    font-size: 27px;
    color: #3B3B3B;
}

.bottom-text-subtitle {
    font-size: 27px;
    margin-top: 10px;
}


.top-text-title {
    font-size: 66px;
    font-weight: bolder;
    padding-bottom: 10px;
}

.img-txt-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-end;
    align-items: end;
    padding-bottom: 10px;
}

.hoverable-icon {
    width: 40px;
    height: 40px; /* Adjust dimensions as needed */
    background-size: cover;
    background-repeat: no-repeat;
}

.hoverable-icon:hover {
    background-image: url('https://wawestore.com/devtest123/wp-content/themes/storefront/assets/images/hover-image.svg') !important;
    /*transform: scale(1.1);*/
}

.hoverable-icon.hover-active:hover {
    background-image: url('https://wawestore.com/devtest123/wp-content/themes/storefront/assets/images/hover-image.svg') !important;
    outline: none; /* Optional: Removes the default focus outline */
}

.bottom-text {
    margin-bottom: unset;
    margin-top: 10px;
}

.cases-text {
    font-weight: bold;
    margin: unset;
    font-size: 27px;
    color: #3B3B3B;
}

/* STORITVE BLOCK*/

.photo1-container,
.rowblock-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 100px;
    color: #3B3B3B;
}

.photo1-block{
    width: 25%;
    display: flex;
    flex-direction: column;
}


.rowblock-block {
    width: 25%;
}

.photo1-block a {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.photo1-block img{
    align-self: flex-start;
}

a {
    color: #3B3B3B !important;
    text-decoration: none !important;
}

.toptext1 {
    font-size: 27px;
    font-weight: bold;
}

.bottomtext1 {
    font-size: 20px;
    flex-grow: 1;
}

/* DESNA SLIKA */

.left-text, .right-image {
    flex: 50% !important;
}

.left-text {
    font-weight: lighter;
    color: #3B3B3B;
    font-size: 38px;
    display: flex; 
    justify-content: center;
    align-items: center; 
    text-align: left;
}

.photo2-block {
    display: flex;
    gap: 100px;
}

/* LEVA SLIKA */

.left-image {
    flex: 50% !important; 
}

.right-text {
    width:50%;
    font-size: 38px; 
    font-weight: lighter;
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: left; 
    color: #3B3B3B;
}

.right-text-inners {
    width: 100% !important;
    padding-left: 78px;
}

.right-image img,
.left-image img {
    width: 100% !important;
}

.left-image img {
    max-width: 100%; 
    height: auto; 
}

.left-image{
    width:50%;
}  

.right-image img {
  max-width: 100%;
  height: auto; 
}

.photo3-block {
    padding-top: 2pc;
}

.photo3-block {
    display: flex; 
    gap: 20px; 
}

.vec-primerov-link {
    display: flex;
    flex-direction: row;
    gap: 17px;
    justify-content: flex-end;
    align-items: center;
    font-size: 20px;
    color: #3B3B3B;
}



/* O NAS */

.wp-block-andrej-gjurin-nastev {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.holderzanastevanje {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #3B3B3B;
}

.nrnastevanje {
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lnastevanje {
    border-bottom: 2.5px solid #F3F4ED;
    width: 40%;
    height: 31px;
    margin-left: 40px;
    margin-right: 40px;
}

.textwrapnastevanje {
    display: flex;
    flex-direction: column;
    flex: 20%;
}

.ttnastevanje {
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 10px;
}


/* FACTS */

.counter-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
}

.counter-separator {
    border: 1px solid #F3F4ED;
    width: 15%;
    align-self: center;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.counter-number {
    font-size: 45px;
    font-weight: bold;
    color: #333; 
    margin-bottom: 5px;
}

.counter-label {
    font-size: 1rem;
    color: #3B3B3B; 
    text-transform: lowercase;
}

.featured-case {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.case-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.case-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.case-image-left,
.case-image-right {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.case-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #0073e6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

.case-button:hover {
    background-color: #005bb5;
}

.case-bottom-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.case-arrow {
    font-size: 20px;
    font-weight: bold;
    margin-left: 5px;
    color: #0073e6;
}

.left-text {
    flex: 1;
}

.right-image img {
    max-width: 100%;
}

.btnastevanje {
    font-size: 20px;
}

/* CASES */

.counter-block,
.featured-case-container {
    display: flex;
    flex-direction: column;
}

h2.featured-case-title {
    font-size: 40px;
    display: flex;
}

h3.featured-case-subtitle {
    border-top: 0px solid transparent;
    display: flex;
    font-size: 27px;
    font-weight: 600;
    display: flex;
}

.featured-case-description {
    display: flex;
}

.featured-case-photos {
    /*padding-left: 7pc;
    padding-right: 7pc;
    margin-top: 4pc;*/
    display: flex;
    gap: 80px; 
    justify-content: center; 
    flex-direction: row;
}

.featured-photo { 
    display: flex; 
    height: auto;
    max-width: 20%;
    object-fit: cover; 
}

/*
.featured-photo:first-child {
    flex: 0 0 30%;
}

.featured-photo:last-child {
    flex: 0 0 70%; 
}*/

a.vec-primerov-link {
    font-size: 20px;
    font-weight: 600;
    color: #3B3B3B;
    float: right;
}

span.puscica {
    background: #3B3B3B;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    margin-left: 1pc;
}

p.featured-case-description {
    color: #3B3B3B;
    font-size: 20px;
}

a.produkcija-link {
    background: #3B3B3B !important;
    border-radius: 50px;
    display: block;
    width: fit-content;
    margin: auto;
    margin-top: 48px !important;
    color: #F3F4EE !important;
    padding: 5px 27px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* STUDIJE PRIMEROV */

.studije-container-r {
    display: flex;
}

.studije-rows-r {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
}

.studije-rows-r h3 {
    font-weight: bold;
    font-size: 27px;
}

.holder-studije-l {
    font-size: 20px;
    color: #3B3B3B;
}

.studije-image-sub-r {
    max-width: 50%;
    height: auto;
}



@media (min-width: 769px) { 
    .nav li:after {
        content: "";
        width: 80px !important;
        display: inline-block;
        color: white;
        height: 2px;
        vertical-align: middle;
        background-color: white;
        margin-left: 1pc;
        transition: margin-right 0.3s;
    }

    .nav li:hover:after {
        margin-right: 1pc;
        transition: margin-right 0.5s;
    }
}

@media (max-width: 768px) {

    .studije-image-sub-r {
        max-width: unset;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .indent-image-r,
    .indent-image-l {
        width: 100%;
    }

    .simple-text-block-sub {
        margin-top: 250px;
    }

    .row-block {
        padding-bottom: unset;
    }

    .img-txt-wrap {
        padding-bottom: unset;
    }

    .img-txt-wrap-row {
        display: none;
    }

    .top-text-title {
        padding-bottom: 20px;
        border-bottom: #3B3B3B 2px solid;
    }
    
    

    .alineja-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        width: unset;
    }

    .alineja-header p {
        font-size: 28px !important;
    }

    .alineja-catch-phrase {
        display: unset;
        margin-right: unset;
        width: unset;
        margin-bottom: 1em;
        font-size: 28px;
        text-align: unset;

    
    }

    .alineja-initial-text,
    .alineja-catch-phrase{
        width: 100%;
    }

    .alineja-line {
        width: 100%;
        font-size: 28px;
    }

    .alineja-container {
        margin-bottom: 4pc;
    }

    .alineja-block {
        flex-direction: column-reverse;
    }

    .alineja-header {
        gap: unset;
    }

    .indent-container-r,
    .indent-container-l {
        flex-direction: column;
        color: #3B3B3B;
    }

    .indent-image-sub-r{
        margin-left: unset;
        width: unset;
        height: unset;
        
    }

    .indent-subtitle-r,
    .indent-subtitle-l,
    .holder-alineje-l,
    .holder-alineje-r,
    .alineja-tekst {
        font-size: 28px;
    }

    .indent-subtitle-r,
    .indent-subtitle-l {
        margin-bottom: unset;
    }

    .indent-title-r,
    .indent-title-l {
        font-size: 38px;
    }

    .indent-rows-r,
    .indent-rows-l{
        width: 100%;
        align-self: unset;
        max-width: unset;
    }


    /* HEADING */

    .entry-content h1{
        font-size: 70px !important;
        font-weight: bolder;
    }

    .entry-content h2 {
        font-size: 60px !important;
    }

    .entry-content h3 {
        font-size: 38px !important;
    }

    .img-txt-wrap {
        width: 100%; /* Set width to 100% of the parent container */
        text-align: center; /* Optional: Align text to the center */
    }

    .hoverable-icon {
        width: 58px;
        height: 58px;
    }

    .hoverable-icon:hover {
        background-image: url('https://wawestore.com/devtest123/wp-content/themes/storefront/assets/images/gumb-1.svg') !important;
        pointer-events: none; /* Disable hover effect */
        transition: none; /* Optional: disable transition on mobile */
    }

    .cases-text {
        font-size: 24px; /* Reduce font size for mobile */
    }

    .cases-text {
        font-size: 38px;
    }

    .photo1-container,
    .rowblock-container {
        flex-direction: column;
        border-bottom: 2px solid #F3F4ED;
        border-top: #F3F4ED 2px solid;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .photo1-block,
    .rowblock-block {
        width: unset;
        display: unset;
    }

    .photo1-block .hoverable-icon {
        align-self: flex-end;
    }

    .toptext1 {
        font-size: 38px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: unset;
    }

    .bottomtext1 {
        font-size: 28px;
    }

    /* DESNA SLIKA */

    .photo2-block {
        flex-direction: column-reverse;
        gap: 30px;
        margin-bottom: 100px;
    }

    .photo3-block {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 100px;
    }

    .right-text {
        width:100%;
    }

    .right-text-inners {
        padding-left: unset;
    }

    .left-image{
        width:100%;
    }  

    .wp-block-andrej-gjurin-nastev {
        margin-bottom: 100px;
        margin-top: unset;
    }

    /* O NAS */

    .lnastevanje {
        border-bottom: none;
        width: unset;
        height: unset;
        margin-left: unset;
        margin-right: unset;
    }

    .nrnastevanje {
        font-size: 38px;
        font-weight: bold;
        margin-bottom: 20px;
        margin-right: 25px;
    }

    .ttnastevanje {
        font-size: 38px;
        font-weight: bold;
        border-bottom: #F3F4ED 2px solid;
        padding-bottom: 15px;
    }

    .btnastevanje {
        font-size: 28px;
    }


    /* CASES */

    .featured-case-container {
        margin-bottom: 100px;
    }

    .featured-case-title {
        order: 1;
    }

    .featured-case-subtitle {
        order: 3;
    }

    .featured-case-description,
    .featured-case-photos,
    .vec-primerov-link {
        order: 4;
    }

    .featured-case-photos {
        gap: unset
    }
    
    .featured-photo {
        max-width: 50%;
    }

    p.featured-case-description {
        font-size: 28px;
    }

    .arrow-icon {
        width: 10%;
        align-items: flex-end;
    }

    .vec-primerov-link {
        padding-top: 30px;
        font-size: 28px;
    }

    a.produkcija-link {
        font-size: 20px;
        margin: unset;
        display: flex;
        justify-content: start;
        margin-top: unset !important;
    }

    h3.featured-case-subtitle {
        padding-top: unset;
    }


    .featured-case-links {
        display: flex;
        order: 2;
    }

    /* FACTS */

    .counter-label {
        font-size: 20px;
    }

    .counter-block {
        margin-bottom: 100px;
    }

    /* STUDIJE PRIMEROV */

    .studije-container-r {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    
    .studije-rows-r {
        display: flex;
        align-self: unset;
        width: unset;
    }

    .studije-rows-r h2 {
        font-weight: bold;
        font-size: 60px !important;
    }
    
    .studije-rows-r h3 {
        font-weight: bold;
    }
    
    .holder-studije-l {
        color: #3B3B3B;
    }

    .holder-studije-l p{
        font-size: 27px;
    }
    
    .studije-image-sub-r img {
        max-width: 130%;
        height: auto;
    }



}



