/*!
Theme Name: WPwaymade
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wpwaymade
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

WPwaymade is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.navbar-light .navbar-nav .current_page_item a {
    color: rgba(0,0,0,.9);
}
.navbar-nav .current_page_item.nav-item  a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #a578ff;
    height: 6px;
}
.all-jobs .hide {
    animation: hide .3s ease 0s 1 normal forwards;
    transform-origin: center;
  }
.all-jobs .show { 
    animation: show .3s ease 0s 1 normal forwards;    
    transform-origin: center;
}

@keyframes hide {
    0%{
      transform: scale(1);        
    }
    100% {
      transform: scale(0);        
      width: 0;
      height: 0;
      margin: 0;
    }
  }
  @keyframes show {
    0%{
      transform: scale(0);     
      width: 0;
      height: 0;
      margin: 0;   
    }
    100% {
      transform: scale(1);    
    }
  }

  
.blog-hero-section.news-hero-section {
    padding: 220px 0px 100px;
    background: #15003e;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 86vh;
}
.back-blog-btn-anchor .back-blog-btn, .back-to-blog{
  align-items: center;
}
.back-blog-btn-anchor svg{
  transition: all .3sease-in-out !important;
}
.back-blog-btn-anchor:hover span{
  color: #9d70ff;
}
.back-blog-btn-anchor:hover  svg path#Fill_3 {
  fill: #9d70ff;
}
.back-blog-btn-anchor:hover svg path#Stroke_1 {
  stroke: #9d70ff;
}
.single-post .therapeutic-section .content-section h4{
  font-family: "Berlingske Serif";
}
.pagination {
  align-items: center;
}
.pagination .page-numbers{
  width: 50px;
  height: 50px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15003e;
  border-radius: 50%;
  border: 1px solid #15003e;
}
.pagination .prev, .pagination .next{
  color: #15003e;
  font-size: 14px;

}
.pagination .page-numbers.current{
  background: #15003e;
  color: white !important;
}
.blog-card .blog-content h6, .blog-card .blog-content h3{
  color: #15003e;
}
.next-section{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.next-section a{
  font-size: 16px;
  color: white;
}
.next-section a img{
  width:17px;
  transform: rotate(272deg);
  margin-left: 3px;
}

.all-blogs-section .blogs-row .blog-card .blog-content h3 {
    min-height: 110px;
}
.therapeutic-section  .oval-shap-image{
  height: 650px;
  background-repeat: no-repeat;
  background-size: cover;
  mask-image: url('assets/images/blog-detail.png');
  mask-size: 650px 650px;
  mask-repeat: unset;
  background-position:center;
}
@media only screen and (max-width: 767px) {
  .therapeutic-section .banner-img.oval-shap-image{
    height: 300px;
    mask-size: 300px 300px;
    mask-repeat: no-repeat;
    mask-position: center;
  }
  .hero-slider .slick-dots{
       bottom: -35px !important;  
  }
  .blog-hero-section-press .hero-slider .slide-item{
    min-height: 200px !important;
  }
   .blog-hero-section-press .hero-slider .slide-item {
        height: 250px !important;
    }
}
.press-slider-section #customCarousel1 .item .caption h2 a{
     font-family: "Berlingske Serif";
    color: #fff;
    font-weight: 400;
    margin-bottom: 40px;   
}
.blog-hero-section-press .press-slider-section .owl-stage-outer {
    min-height: 620px;
}
#header{
  min-height: auto;
}
.blog-hero-section-news .hero-slider .slide-item {
    /* min-height: 300px; */
    min-height: auto;
}
.blog-hero-section{
    min-height: auto;
}
.page-id-322  .next-section{
      margin-top: 50px;
}
 .blog-hero-section-press{
  /* padding: 240px 0px 100px; */
  padding: 100px 0px 50px;
 }
  .hero-slider .thumb-item img{
height: 200px !important;
    width: 200px !important;
  }
  .back-to-blog{
        top: 150px;
  }
  .single-post .therapeutic-section{
    min-height: auto;
  }
  .single-post .therapeutic-section{
    padding-bottom: 80px;
  }
  .therapeutic-section .oval-shap-image {
    height: 450px;
    mask-size: 450px 450px;
    width: 450px;
}
.blog-hero-section .overlay{
  height: 250px;
}
#product-slider__nav{
  display: none !important;
}
.hero-slider .slide-item .caption{
  padding-top: 40px;
}
.blog-hero-section-press .hero-slider .slide-item{
  height: auto;
  min-height: 300px;
}
.blog-hero-section-news .hero-slider .slide-item {
    /* min-height: 300px; */
    min-height: auto;
}
.all-blogs-section .blogs-row .blog-card .blog-content {
    min-height: auto;
}
.page-id-512 .all-blogs-section .blogs-row .blog-card .blog-content h3 {
    min-height: 80px;
}



/* Your corrected CSS */
.hero-slider{
      min-height: 300px; 
}
.page-id-514  #product-slider__main .slick-list{
   max-height: 400px; 
      min-height: 300px; 
}
.page-id-514  #product-slider__main .slick-list .slide-item {
   max-height: 350px; 
    min-height: 350px; 
}
  /* #product-slider {
    position: relative;
    display: none;
    min-height: 200px;
    max-height: 400px;
    background-color: #15003e;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #product-slider.slick-initialized {
    display: block;
    opacity: 1;
    transform: translateY(0);
  } */
/* #product-slider {
  position: relative;
  display: block; 
  min-height: 200px;
  max-height: 400px;
  background-color: #15003e;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
} */

/* Hide all slide items by default */
/* #product-slider #product-slider__main .slide-item {
  display: none; 
} */

/* Show only the first slide item when slider is not initialized */
/* #product-slider #product-slider__main .slide-item {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#product-slider.slick-initialized #product-slider__main .slide-item:first-child{
    visibility: visible;
    opacity: 1;
}
#product-slider.slick-initialized #product-slider__main .slide-item {
    position: relative;
    visibility: visible;
    opacity: 1;
} */

/* Slider container */
#product-slider #product-slider__main {
  position: relative;
  background: #15003e; /* Set a background to avoid white flicker */
  overflow: hidden; /* Prevent content from showing outside the slider */
}

/* Slides before initialization */
#product-slider #product-slider__main .slide-item {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(100%); /* Move slides off-screen initially */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

/* First slide before initialization (optional: show it faintly) */
#product-slider #product-slider__main .slide-item:first-child {
  opacity: 0.5; /* Optional: faint visibility to avoid blank state */
  transform: translateX(0); /* Keep first slide in place */
}

/* Initialized slider */
#product-slider.slick-initialized #product-slider__main .slide-item {
  position: relative;
  opacity: 1;
  transform: translateX(0); /* Bring slides into view */
}

/* Active slide (Slick adds .slick-active to the current slide) */
#product-slider.slick-initialized #product-slider__main .slide-item.slick-active {
  opacity: 1;
  transform: translateX(0);
}

.slider-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #9462f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#product-slider.slick-initialized .slider-loading {
    display: none;
}
