/*
 Theme Name:   Almaris Child
 Theme URI:    https://themewant.com/products/wordpress/almaris
 Description:  Almaris Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     almaris
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

/* HTML: <div class="ribbon">Your text content</div> */

.ribbon {
  --r: .8em; /* control the ribbon shape */
  padding-inline: calc(var(--r) + .3em);
  line-height: 1.8;
  clip-path: polygon(0 0,100% 0,calc(100% - var(--r)) 50%,100% 100%,0 100%, var(--r) 50%);
  /* width: fit-content; */
  background-color: #AB8965;
  font-family: "Jost", Sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  fill: #FFFFFF;
  color: #FFFFFF;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #FFFFFF59;
  border-radius: 0px 0px 0px 0px;
  padding: 10px 15px 10px 15px;
}

#ribbon {
  --r: .8em;
  padding-inline: calc(var(--r) + .3em);
  clip-path: polygon(0 0,100% 0,calc(100% - var(--r)) 50%,100% 100%,0 100%, var(--r) 50%);
}

.scuzzy img {
  max-height: 350px;
  object-fit: fill;
}

.blb-feture-icon .eael-feature-list-icon-inner {
  background-color: #AB8965 !important;
}

.bbh-hot-spot-image .eael-hot-spot-image img {
  border-radius: 5px !important;
}

.bbh-scale-image .gallery-item img {
  transition: transform 0.3s ease-in-out; /* Smooth transition effect */
}

.bbh-scale-image .gallery-item img:hover {
  transform: scale(1.1); /* Slightly enlarges the image by 5% */
}

.eshb-form-group.dates-wrapper {
  display: grid
;
  margin: 30px 0;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 10px;
  column-gap: 10px;
}

.eshb-details-page .eshb-container {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.eshb-details-page .eshb-archive-wrapper.related-accomodations {
    padding-top: 50px !important;
}

/* Swiper Container - Ensure Buttons Stay Inside */
.swiper-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  position: relative; /* Fix: Keeps navigation inside the slider */
}

/* Swiper Slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-img-holder {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 5px;
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Navigation Buttons - Keep Inside the Slider */
.gallery .swiper-button-prev,
.gallery .swiper-button-next {
  color: white !important;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Fix: Keep it above the slides */
}

/* Fix: Keep Buttons Inside the Swiper Container */
.gallery .swiper-button-prev { left: 10px; }
.gallery .swiper-button-next { right: 10px; }

/* Prevent Conflicts with Other Sliders */
.gallery .swiper-button-prev::after,
.gallery .swiper-button-next::after {
  font-size: 20px !important;
  color: white !important;
  font-weight: bold;
}

/* Use Proper Arrow Icons */
.gallery .swiper-button-prev::after { content: '‹'; } /* Left Arrow */
.gallery .swiper-button-next::after { content: '›'; } /* Right Arrow */

/* Lightbox Styles */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

/* Lightbox Image */
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
