/* -----------------------------
    * About
    * Homepage
    * Kontakt
    * Privacy policy
    * 404 Error 
    * Pillar Page
----------------------------- */

/* -----------------------------
    About
----------------------------- */
.page-template-sub-page .subtitle {
  font-size: 1.375rem;
  margin-top: -0.5rem;
  color: var(--darker-blue);
}

.page-template-about .cta-box {
  margin-bottom: 0;
}

/* -----------------------------
    Homepage
----------------------------- */
.home .banner-block .heading {
  line-height: 1;
  margin-left: -1rem;
}

/* Products */
.products-container .slider::before {
  content: " ";
  display: block;
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: url("/wp-assets/uploads/2023/11/wave-orange.svg") no-repeat center;
  background-size: contain;
  z-index: -1;
}

.products-container .slider::after {
  content: " ";
  display: block;
  position: absolute;
  bottom: 220px;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: url("/wp-assets/uploads/2023/11/wave-gray.svg") no-repeat center;
  background-size: contain;
  z-index: -1;
}

.home .products-container > .grid-container:first-child {
  padding-bottom: 0;
  margin-bottom: -40px;
}

@media (min-width: 992px) {
  .home .recipes {
    background: url("/wp-assets/uploads/2023/12/recipe-background.png")
      no-repeat center;
    background-size: contain;
  }
}

@media (min-width: 677px) {
  .home .banner-block .copy {
    padding: 40px 32px 40px 48px;
  }
}

@media (max-width: 480px) {
  .home .products-container > .grid-container:first-child {
    margin-bottom: -80px;
  }

  .products-container .slider::before {
    top: 20%;
    background-size: initial;
  }

  .products-container .slider::after {
    background-size: initial;
  }
}

/* -----------------------------
    Kontakt
----------------------------- */
.entry-content .contact-details *:not(a:hover):not(i) {
  color: var(--blue);
}

/* -----------------------------
    Privacy policy
----------------------------- */
.privacy-policy .site-main {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-policy .entry-content a:not(:hover) {
  color: var(--darker-blue);
  border-bottom: 2px solid var(--orange);
}

.privacy-policy .entry-content a:hover {
  border-bottom: 2px solid var(--orange);
}

/* -----------------------------
    404 Error
----------------------------- */
.error404 > .site {
  text-align: center;
  max-width: 700px;
}

/* -----------------------------
    Pillar Page
----------------------------- */
  .page-template-pillar-page .hero-header img{ 
  border-radius: 20px;
  }
  
   .page-template-pillar-page .entry-content .narrower-content {
    max-width: 670px;
   }
  
   .page-template-pillar-page  .divider{
    margin-top: 3.5rem;
     margin-bottom: 3.5rem;
  margin-left: calc((50% - 50vw) + 4px);
  margin-right: calc((50% - 50vw) + 4px);
  }
  .page-template-pillar-page  .divider img{ 
    width: 100%;
  }
  
  .page-template-pillar-page .entry-content .gb-container:not(.divider) figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
    -webkit-box-shadow: 0px 3px 12px rgba(0,0,0,0.15);
            box-shadow: 0px 3px 12px rgba(0,0,0,0.15);
    margin-bottom: 32px;
  }
  
  
  .page-template-pillar-page .entry-content .gb-container .basic-ingredient figure img{ 
  -webkit-box-shadow: none; 
          box-shadow: none;
  }
  
  .page-template-pillar-page h1.page-title{ 
  font-size: 64px;
  }
  
  @media (max-width: 678px) {
  .page-template-pillar-page h1.page-title {
          font-size: 2.8rem;
      }
    
    .page-template-pillar-page .entry-content h2.gb-headline{ 
    font-size: 2.5rem;
    }
    
    .page-template-pillar-page .entry-content h3.gb-headline{ 
    font-size: 2rem;
    }
    
   .page-template-pillar-page .divider{
    margin-top: 3.5rem;
     margin-bottom: 3.5rem;
  margin-left: calc((50% - 80vw) + 4px);
  margin-right: calc((50% - 80vw) + 4px);
  }
  }
  
   .page-template-pillar-page .entry-content a:not(:hover) {
    color: var(--darker-blue);
   }
  
  .page-template-pillar-page .entry-content h2.gb-headline{ 
  font-family: var(--heading-font);
  }
  
  .page-template-pillar-page .post-summary{ 
  -webkit-box-shadow: 0px 3px 12px rgba(0,0,0,0.25); 
          box-shadow: 0px 3px 12px rgba(0,0,0,0.25);
  }
  
  .page-template-pillar-page .basic-ingredient{ 
  background-color: var(--light-gray);
    border-radius: 20px;
  }
  
  .page-template-pillar-page .entry-content h4{ 
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 0px;
  }
  
  .page-template-pillar-page .entry-content .sub-headline{ 
  color: var(--darker-blue);
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.basic-ingredient{
    -ms-grid-rows: auto 40px 1fr;
    grid-template-rows: auto 1fr;
  margin-bottom: 24px;
  line-height: 1.5rem;
  padding: 30px;
  row-gap: 40px;
  }
  
  @media(min-width: 680px){ 
  .page-template-pillar-page .entry-content .gb-grid-wrapper.basic-ingredient{ 
  -ms-grid-columns: 225px 40px 1fr; 
  grid-template-columns: 225px 1fr;
  margin-bottom: 16px;
  font-size: 17px;
  padding: 40px 27px;
  -webkit-column-gap: 40px;
     -moz-column-gap: 40px;
          column-gap: 40px;
  }}
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.basic-ingredient h3{ 
  font-size: 32px;
  margin-bottom: 8px;
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.basic-ingredient figure{
  width: 225px;
  height: 250px;
  background-color: #fff;
  border-radius: 20px;
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.ingredient .post-summary { 
  padding: 30px;
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.ingredient .post-summary h2{ 
  font-size: 1.25rem;
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.ingredient .post-summary::before{ 
  display: none;
  }
  
  @media(min-width:768px){ 
  .page-template-pillar-page .entry-content .gb-grid-wrapper.ingredient{ 
  -ms-grid-columns: 270px 40px 1fr; 
  grid-template-columns: 270px 1fr;
    gap: 40px;
  }
  
  .page-template-pillar-page .entry-content .gb-grid-wrapper.ingredient .post-summary{ 
  margin: 0px;
  }
    }
  
  .page-template-pillar-page .entry-content a:not(.btn):not(:hover){ 
  border-bottom: 2px solid var(--orange);
  }
  
  .page-template-pillar-page .post-tip a:hover,
  .page-template-pillar-page .basic-ingredient a:hover{ 
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  }
  
  .page-template-pillar-page .ingredients{ 
  -ms-grid-rows: auto 24px 1fr; 
  grid-template-rows: auto 1fr;
  row-gap: 24px;
  }
  
  @media(min-width: 680px){ 
  .page-template-pillar-page .ingredients{ 
  -ms-grid-columns: 220px 24px 1fr; 
  grid-template-columns: 220px 1fr;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
  }}
  
  .page-template-pillar-page .ingredients ul{ 
  display: block;
  }
  
  .page-template-pillar-page .ingredients ul li:nth-child(odd){ 
  padding-right: 0px;
  }
  
  .page-template-pillar-page .ingredients .wp-block-group__inner-container{ 
  padding: 0px;
  }
  .page-template-pillar-page .ingredients li{ 
  color: var(--darker-blue);
  }
  
  .page-template-pillar-page .ingredients .grid-metric p{
    color: var(--light-blue);
  }
  
  .page-template-pillar-page  .grid-metric > .wp-block-group-is-layout-grid{ 
  -webkit-column-gap: 20px; 
     -moz-column-gap: 20px; 
          column-gap: 20px;
  -ms-grid-columns: auto 20px 1fr;
  grid-template-columns: auto 1fr;
  }
  
  .page-template-pillar-page .cta{ 
  background-color: var(--orange);
  color: white;
    padding: 24px 34px;
    text-align: center;
  position: relative;
    border-radius: 7px;
     -webkit-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
             box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    margin: 110px 0px;
  }
  
  .page-template-pillar-page .cta:before{ 
  content:'';
  position: absolute;
  background-image: url('/wp-assets/uploads/web/pp-icon-heart-fill-box-shadow.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 180px;
  height: 180px;
  bottom: 0;
  left: 0;
  margin-left: -50px;
  margin-bottom: -100px;
  -webkit-transform: rotate(-12deg);
  -ms-transform: rotate(-12deg);
      transform: rotate(-12deg);
  }
  
  @media(max-width:820px){ 
  .page-template-pillar-page .cta:before{ 
    margin-left: -30px;
    margin-bottom: -110px;
  
  }
  }
  
  @media(max-width:620px){ 
  .page-template-pillar-page .cta:before{ 
  width: 100px;
  height: 100px;
      top: 50%;
    right: 100%;
    margin-right: -80px;
    margin-top: 11px;
  }
  }
  
  .page-template-pillar-page .cta p{ 
    margin-bottom: 0px;
    max-width: 476px;
    margin: 0 auto;
    line-height: 1.5rem;
  }
  
  .page-template-pillar-page .entry-content .cta a:not(:hover),
  .page-template-pillar-page .entry-content .cta a:not(.btn):not(:hover){ 
  color: white;
    border-bottom: 2px solid white;
  }
  
  .page-template-pillar-page .entry-content .cta a:hover{ 
  color: var(--light-blue);	
    border-bottom: 2px solid var(-light-blue);
  }
  
  
  /*Sticky menu  */
  .page-template-pillar-page .sticky-content-menu {
    position: fixed;
    top: 110px;
    right: calc((100vw - 1080px) / 2);
    z-index: 10;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
   }
   
   
  .page-template-pillar-page #content .sticky-content-menu ul {
    width: 275px;
    margin: 0;
    padding: 16px;
    border-radius: 20px;
    background-color: var(--darker-blue);
    list-style-type: none;
    z-index: 10;
     color: white;
   }
  
  .page-template-pillar-page #content .sticky-content-menu ul a{ 
  color: white;
    border-bottom: none;
  }
  
  .page-template-pillar-page #content .sticky-content-menu ul a:hover{ 
  color: var(--orange);
  }
   
  .page-template-pillar-page .sticky-content-menu li:not(:last-of-type) {
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e5;
   }
   
  .page-template-pillar-page .sticky-content-menu li + li {
    padding-top: 8px;
   }
   
  .page-template-pillar-page #content .active-link {
    color: var(--yellow);
   }
   
   @media (max-width: 1119px) {
  .page-template-pillar-page  .sticky-content-menu {
     display: none;
    }
   }

   .page-template-pillar-page .narrower-content .wp-block-social-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10;
    gap: 1.5rem;
    margin: 0px 0px 24px -6px;
  }
  
  .page-template-pillar-page .narrower-content .wp-block-social-links .wp-social-link {
    border: none;
    padding: 0px;
    background-color: var(--orange);
  }
  
  .page-template-pillar-page .narrower-content .wp-block-social-links svg {
    font-size: 2rem;
    fill: var(--blue);
  }
  
  .page-template-pillar-page .narrower-content .wp-block-social-links a{ 
  border-bottom: none!important;
  }

.page-template-pillar-page .hide{ 
display: none;
}

.page-template-pillar-page  #letnagrilovacka { 
height: 100vh;
overflow-y: scroll;
top: 0
}

.page-template-pillar-page #letnagrilovacka.sticky-content-menu ul{ 
width: 300px;
font-size: 1rem;
}

.page-template-pillar-page  #letnagrilovacka {
    -ms-overflow-style: none; 
    scrollbar-width: none;  
}
.page-template-pillar-page  #letnagrilovacka::-webkit-scrollbar { 
	display: none;  
}

@media (min-width: 769px) {
    .page-template-pillar-page .splide .splide__arrow--next {
        right: -47px;
    }
	.page-template-pillar-page .splide .splide__arrow--prev {
        left: -47px;
    }
}

.page-template-pillar-page .entry-content .splide a:not(.btn):not(:hover){ 
border-bottom: 0px solid var(--orange);
}