/******************************************************************
  Theme Name: Granitevision
  Description: Theme developed by Dotinverse
  Version: 1.0
  Author: DotInverse
  Author URI: https://www.dotinverse.com
  Requires at least: 5.0
  Tested up to: 5.4
  Requires PHP: 7.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Text Domain: granitevision
******************************************************************/


.page-navigation {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}
.page-navigation .prev {
  order: 1;
}
.page-navigation .next {
  order: 2;
}


.carousel {
  position: relative;
  height: 400px;
  width: 500px;
  margin: 0 auto;
  margin-bottom: 5rem;
}
.carousel__images {
  max-width: 500px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__track-container {
  background: rgb(245, 241, 241);
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.carousel__track {
  padding: 0;
  margin: 0;
  position: relative;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease-in;
}
.carousel__button:hover {
  /* background-color: rgb(175, 175, 175); */
  border-radius: 20px;
}

.carousel__button--left {
  left: -40px;
}
.carousel__button--right {
  right: -40px;
  transform: translateY(-50%) rotate(180deg);
}
.carousel__button img {
  width: 25px;
}
.carousel__nav {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  gap: 1rem;
}
.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.carousel__indicator.current-slide {
  background: rgba(0, 0, 0, 0.9);
}
.is-hidden {
  display: none;
}
