.container{
    margin: 0 auto;
    padding: 0 20px;
}
.colloid-button{
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    background-color: transparent;
    border: 1px solid #8C846E;
    border-radius: 35px;
    padding: 10px 20px;
    color: #1A1A1A;
}
.colloid-button.beige{
    color: #8C846E;
}
.colloid-button.light{
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media(max-width: 767px){
    .colloid-button {
        font-size: 11px;
        padding: 7px 16px;
    }
}

/****************************
***** FLEXIBLE CONTENT ******
*****************************/

/*  HERO  */
.hero{
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 55vw;
    position: relative;
}
.hero .container{
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    z-index: 10;
    padding: 5%;
}
#hero-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-content{
    max-width: 50%;
    width: 100%;
    padding: 20% 5%;
    gap: 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 10;
}
.hero-content.right{
    margin-left: auto;
}
.hero-content h1{
    font-size: 40px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 1.2px;
}
.hero-content h2{
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 1.2px;
}
.hero-content p{
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 20px;
}
.hero-content .link-wrapper{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
}
@media(max-width: 1024px){
    .hero-content h1{
        font-size: 36px;
    }
    .hero-content p{
        font-size: 22px;
    }
}
@media(max-width: 767px){
    .hero-content h1{
        font-size: 32px;
    }
    .hero-content p{
        font-size: 16px;
    }
    .hero-content .link-wrapper{
        justify-content: start;
    }
    .hero-content{
        max-width: 100%;
        padding: 45% 5%;
    }
}

/* TEXT */
.text-section{
    padding: 60px 0;
}
.text-section .container{
    max-width: 1180px;
}
.text-section h2,
.grid-2-col .text-container h2,
#section-19827 h3,
.products-section .container > h2{
    font-size: 30px;
    line-height: 1.2;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 0;
}
.text-section h2 span,
.grid-2-col .text-container h2 span {
    font-size: 0.77em;
}
.text-section h2:not(:last-child),
.grid-2-col .text-container h2:not(:last-child),
.text-section h3:not(:last-child)
.grid-2-col .text-container h3:not(:last-child){
    margin-bottom: 20px;
}
.text-section h3{
    font-size: 24px;
    line-height: 1.5;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 0;
}
.grid-2-col .text-container h3{
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.text-section p,
.grid-2-col .text-container p{
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0 0 20px;
}
.text-section p:last-child,
.grid-2-col .text-container p:last-child{
    margin: 0;
}

@media(max-width: 1024px){
    .text-section h2,
    .grid-2-col .text-container h2,
    #section-19827 h3,
    .products-section .container > h2{
        font-size: 28px;
    }
    .text-section h3,
    .grid-2-col .text-container h3{
        font-size: 19px;
    }
}
@media(max-width: 767px){
    .text-section{
        padding: 40px 0;
    }
    .text-section h2,
    .grid-2-col .text-container h2,
    #section-19827 h3,
    .products-section .container > h2{
        font-size: 24px;
    }
    .text-section h2,
    .grid-2-col .text-container h2,
    .grid-2-col .text-container p,
    .text-section p, .grid-2-col .text-container p{
        text-align: left !important;
    }
    .text-section h3,
    .grid-2-col .text-container h3{
        font-size: 18px;
        text-align: left !important;
    }
    .text-section h2:not(:last-child),
    .grid-2-col .text-container h2:not(:last-child),
    .text-section h3:not(:last-child)
    .grid-2-col .text-container h3:not(:last-child){
        margin-bottom: 12px;
    }
    .text-section h2:only-child,
    .text-section h3:only-child,
    .text-section .container:not(:has(p)) h2,
    .text-section .container:not(:has(p)) h3{
        text-align: center !important;
    }
}

/*  Text with image  */
.grid-2-col{
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
    align-items: stretch;
    background: #A79D7E;
}
.grid-2-col > div {
    padding: 15%;
    position: relative;
}
.grid-2-col .text-container p:has(img:only-child) {
    text-align: center;
}
.grid-2-col .image-container{
    position: relative;
}
.grid-2-col .image-container img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grid-2-col .image-container.right{
    order: 5;
}
.grid-2-col .text-container .icon-box{
    display: grid;
    grid-template-columns: minmax(0,15%) minmax(0,1fr);
    grid-template-rows: auto;
    column-gap: 24px;
    align-items: center;
}
.grid-2-col .text-container .icon-box:not(:last-child){
    margin-bottom: 20px;
}

/*framed*/
.grid-2-col.framed{
    margin: 100px 0;
}
.grid-2-col.framed .image-container img{
    height: 110%;
    top: -5%;
    bottom: -5%;
}
.grid-2-col.framed .text-container{
    margin: 0 0 0 20px;
    border-style: solid;
    border-width: 1px 0 1px 1px;
    border-color: #CBC09D;
}
.grid-2-col.framed:not(:has(.image-container.right)) .text-container{
    border-width: 1px 1px 1px 0;
    margin: 0 20px 0 0;
}


@media(max-width: 767px){
    .grid-2-col{
        grid-template-columns: minmax(0,1fr);
    }
    .grid-2-col .image-container{
        width: 100%;
        aspect-ratio: 1.4;
        order: 3;
    }
    .grid-2-col > div {
        padding: 40px 20px;
        text-align: left;
    }
    /*framed*/
    .grid-2-col.framed{
        margin: 0;
    }
    .grid-2-col.framed .image-container img{
        height: 100%;
        top: 0;
        bottom: 0;
    }
    .grid-2-col.framed .text-container{
        margin: 20px 20px 0 20px;
        border-width: 1px 1px 0 1px;
    }
    .grid-2-col.framed:not(:has(.image-container.right)) .text-container{
        border-width: 1px 1px 0 1px;
        margin: 20px 20px 0 20px;
    }
}

/*  Featured products  */
.products-section{
    background: #e1dcd9;
    padding: 80px 0;
}
.products-section .container{
    max-width: 1300px;
    text-align: center;
}
.products-section .container > h2{
    margin-bottom: 40px;
}
.products-section .colloid-button{
    margin-top: 40px;
}
@media(max-width: 1024px){
    .products-section{
        padding: 60px 0;
    }
}
@media(max-width: 767px){
    .products-section{
        padding: 40px 0;
    }
    .products-section .container > h2{
        margin-bottom: 20px;
    }
    .products-section .colloid-button{
        margin-top: 20px;
    }
}


/*  Icons grid  */
.icons-section .container{
    max-width: 1120px;
    padding: 40px 20px;
}
.icon-grid{
    display: grid;
    grid-template-columns: repeat(var(--icons-count), minmax(0,90px));
    grid-template-rows: auto;
    column-gap: min(10%, calc(var(--icons-count) * 2%));
    justify-content: space-between;
}
.icon-grid img{
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
@media(max-width: 1024px){
    .icon-grid{
        column-gap: 20px;
    }
}
@media(max-width: 767px){
    .icon-grid{
        grid-template-columns: repeat(calc(var(--icons-count)/2), minmax(0,70px));
        gap: 20px 40px;
        justify-content: center;
    }
}

/*  Parallax  */
.parallax{
    width: 100%;
    height: auto;
    aspect-ratio: 2.3;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media(max-width: 767px){
    .parallax{
        aspect-ratio: 1.4;
        background-attachment: initial;
    }
}

/*  Slider with text  */
.content-slides{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.grid-2-col.framed .content-slides{
    top: -5%;
    bottom: -5%;
    height: 110%;
}
.content-slides .splide__slide,
.content-slides .splide__track{
    position: relative;
    width: 100%;
    height: 100%;
}
@media(max-width: 767px){
    .grid-2-col.framed .content-slides{
        inset: 0;
        height: 100%;
    }
}



/****************************
***** PAGE SPECIFIC CSS *****
*****************************/


/*  Naš svet stranica  */
.page-id-1929 .site-main{
    border-top: 1px solid #A79D7E;
}
.page-id-1929 .grid-2-col:nth-child(odd){
    background: white;
}
.page-id-1929 .grid-2-col:nth-child(odd) .text-container{
    order: -1;
}
.page-id-1929 .grid-2-col:nth-child(even):before,
.page-id-1929 .grid-2-col:nth-child(even):after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    background: white;
    z-index: 4;
}
.page-id-1929 .grid-2-col:nth-child(even):before{
    top: 15px;
}
.page-id-1929 .grid-2-col:nth-child(even):after{
    bottom: 15px;
}

.page-id-1929 .grid-2-col .text-container{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
    row-gap: 20px;
}

.page-id-1929 .grid-2-col:nth-child(even) .text-container{
    align-items: end;
    text-align: right;
}
.page-id-1929 .text-container h2{
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.page-id-1929 .text-container span{
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 1.2px;
}

.page-id-1929 .grid-2-col:nth-child(even) .text-container h2,
.page-id-1929 .grid-2-col:nth-child(even) .text-container span,
.page-id-1929 .grid-2-col:nth-child(even) .text-container .colloid-button{
    color: white;
}
.page-id-1929 .grid-2-col:nth-child(even) .text-container .colloid-button{
    border-color: white;
}

@media (max-width: 768px){
    .page-id-1929 .grid-2-col > div {
        padding: 15% 8%;
        position: relative;
    }
    .page-id-1929 .grid-2-col:nth-child(odd) .text-container{
        order: 5;
    }
}


/* Moć srebra */
.page-id-1982 #section-8 .image-container img{
    object-fit: contain;
}
.page-id-1982 #section-8 .text-container{
    padding: 15% 8%;
}
@media(max-width:767px){
    .page-id-1982 .hero{
        position: relative;
    }
    .page-id-1982 .hero:before{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        background: inherit;
        background-size: 280vw;
        transform: scaleX(-1);
    }
    .page-id-1982 .hero-content{
        max-width: 75%;
        padding: 35% 5%;
        align-items: start;
    }
    .page-id-1982 .hero-content h1{
        text-align: left !important;
    }
    .page-id-1982 .hero-content p{
        text-align: left !important;
    }
    .page-id-1982 .hero-content.right{
        margin: 0;
    }
    .page-id-1982 #section-8 .text-container{
        padding: 40px 20px;
    }
}


/*  Colloid members  */
@media(min-width: 1025px){
    .page-id-1926 h1{
        font-size: 54px;
    }
}
@media(max-width: 767px){
    .page-id-1926 .hero{
        position: relative;
    }
    .page-id-1926 .hero:before{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        background: inherit;
        background-size: cover;
        background-position: left;
        transform: scaleX(-1);
    }
    .page-id-1926 .hero-content{
        max-width: 100%;
        padding: 70% 5% 35%;
        align-items: center;
    }
    .page-id-1926 .hero-content h1,
    .page-id-1926 .hero-content p{
        text-align: center !important;
    }
    .page-id-1926 .hero-content.right{
        margin: 0;
    }
}


/*  Kozmetika  */
.page-id-1949 .membership-prefooter,
.page-id-1951 .membership-prefooter{
    background: #DADADA;
}
.page-id-1949 #section-7 .image-container{
    order: -1;
    aspect-ratio: 0.54;
    padding: 0;
    margin: 15%;
    position: relative;
}
.page-id-1949 #section-7 .image-container:before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1.15;
    background-image: url("/wp-content/uploads/2026/07/Krema-dnevna-deo-1-poklopac.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 4;
}
.page-id-1949 #section-7.grid-2-col .image-container img {
    position: sticky;
    top: 20%;
    width: 100%;
    height: auto;
}
.page-id-1949 #section-7.grid-2-col .text-container{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    padding: 10%;
}
.page-id-1949 #section-7.grid-2-col .text-container h2{
    text-transform: none;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 500;
}
.page-id-1949 #section-7.grid-2-col .text-container h3{
    font-size: 38px;
    font-weight: 300;
    text-transform: uppercase;
}
@media(max-width: 767px){
    .page-id-1949 .hero{
        background-image: url("/wp-content/uploads/2026/07/Kozmetik-mobile-1.webp") !important;
        background-position: top center;
    }
    .page-id-1949 .hero-content{
        max-width: 100%;
        padding: 120% 5% 10%;
        align-items: start;
    }
    .page-id-1949 .hero-content h1{
        text-align: left !important;
        font-size: 22px;
    }
    .page-id-1949 #section-7 .image-container{
        margin: 10%;
        width: initial;
    }
    .page-id-1949 #section-7.grid-2-col .image-container img {
        top: 30%;
        width: 100%;
    }
    .page-id-1949 #section-7.grid-2-col .text-container{
        padding: 0 10% 10%;
    }
    .page-id-1949 #section-7.grid-2-col .text-container h2{
        font-size: 40px;
    }
    .page-id-1949 #section-7.grid-2-col .text-container h3{
        font-size: 26px;
    }
}


/*  Handmade  */
.page-id-1947 .handmade-soap{
    display: block;
    margin: 0 auto 80px;
    max-width: 85%;
    position: relative;
}
.page-id-1947 .handmade-soap:before{
    content: "";
    display: block;
    position: relative;
    width: 55%;
    height: auto;
    aspect-ratio: 1.39;
    background-image: url("/wp-content/uploads/2026/07/silver-soap-hand-made.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 4;
}
.page-id-1947 .handmade-soap img{
    position: absolute;
    top: 4px;
    bottom: 5px;
    right: 25%;
    left: auto;
    width: 55%;
    height: calc(100% - 9px);
    object-fit: cover;
}
.page-id-1947 #section-6.text-section .icon-item-wrapper{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 40px 20px;
}
.page-id-1947 #section-6.text-section .icon-item{
    display: grid;
    grid-template-columns: minmax(0,52px) minmax(0,1fr);
    grid-template-rows: auto;
    column-gap: 20px;
    align-items: center;
}
.page-id-1947 #section-6.text-section .icon-item img{
    width: 100%;
    height: auto;
}
.page-id-1947 #section-6.text-section .icon-item__content{
    font-size: 16px;
    font-weight: 300;
}
@media(max-width: 767px){
    .page-id-1947 .hero{
        background-image: url("/wp-content/uploads/2026/07/zdravlje-koze-mobile.webp") !important;
        background-position: top center;
    }
    .page-id-1947 .hero-content{
        max-width: 100%;
        padding: 120% 5% 10%;
        align-items: start;
    }
    .page-id-1947 .hero-content h1{
        text-align: left !important;
    }
    .page-id-1947 .hero-content p{
        text-align: left !important;
    }
    .page-id-1947 .parallax{
        aspect-ratio: 2;
    }
    .page-id-1947 #section-5 h2{
        text-transform: none;
    }
    .page-id-1947 .handmade-soap{
        margin: 0 auto 40px;
    }
    .page-id-1947 #section-6.text-section .icon-item-wrapper{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
    }
    .page-id-1947 #section-6.text-section .icon-item{
        grid-template-columns: minmax(0,32px) minmax(0,1fr);
        column-gap: 10px;
    }
    .page-id-1947 #section-6.text-section .icon-item__content{
        font-size: 14px;
    }
}


/*  Biomedicina  */
.page-id-1951 #section-2{
    background-attachment: initial;
}
.page-id-1951 .text-section h1{
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 1.2px;
    margin-bottom: 40px;
}
.page-id-1951 .image-grid{
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-template-rows: auto;
    margin: 0 auto;
    row-gap: 30px;
}
.page-id-1951 .image-grid > div{
    grid-column: -1 / 1;
}
.page-id-1951 .image-grid p{
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.4;
    color: #8C846E;
    text-align: center;
    padding: 10px;
    margin: 0;
}
.page-id-1951 .hero-content h2{
    text-align: left;
}
@media(max-width: 767px){
    .page-id-1951 .text-section h1{
        font-size: 20px;
        margin-bottom: 30px;
        text-align: left !important;
    }
    .page-id-1951 .image-grid{
        grid-template-columns: minmax(0,1fr);
        row-gap: 20px;
    }
    .page-id-1951 .image-grid p{
        text-align: left;
        padding: 0;
    }
    .page-id-1951 .image-grid > div{
        margin-bottom: 20px;
    }
    .page-id-1951 .parallax {
        aspect-ratio: 2;
        background-attachment: initial;
    }
    .page-id-1951 .hero-content {
        max-width: 100%;
        padding: 20% 5%;
        align-items: end;
    }
    .page-id-1951 .hero-content h2{
        font-size: 18px;
        text-align: right !important;
    }
}
