/* ─── Screen Reader Text ─── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  white-space: nowrap;
}

/* ─── Skip Link ─── */
.skip-link.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
  background-color: #1C3D3C;
  color: #fff;
  clip: auto !important;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  border-radius: 0.5rem;
}

.breadcrumbs {
  display: block;
  background: #F5F2EC;
  border-top: 1px solid rgba(136, 123, 99, 0.2);
  padding: 0.875rem 0;
}
.breadcrumbs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.8125rem;
  color: #4f5965;
}
.breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.3;
}
.breadcrumbs ol li a {
  color: #4f5965;
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumbs ol li a:hover {
  color: #1C3D3C;
}
.breadcrumbs li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #887B63;
  border-top: 1.5px solid #887B63;
  transform: rotate(45deg);
  margin: 0 0.4rem;
  flex-shrink: 0;
  opacity: 0.6;
}
.breadcrumbs li:last-child {
  color: #1C3D3C;
  font-weight: 600;
}
.breadcrumbs-top {
  border-top: none;
  border-bottom: 1px solid rgba(136, 123, 99, 0.2);
}

.map-container {
  height: 600px;
  width: 100%;
  border-radius: var(--theme-radius-lg);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 2rem 0;
  z-index: 11;
}

.map-container img {
  border-radius: 0;
}


.search-iframe-container {
  width: 100%;
  height: 100%;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

iframe.hotel-search-tool {
  padding: 12px;
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 1350px) {
  iframe.hotel-search-tool {
    height: 550px;
  }
}

@media (max-width: 980px) {
  iframe.hotel-search-tool {
    height: 850px;
  }
}

@media (max-width: 600px) {
  iframe.hotel-search-tool {
    height: 875px;
    padding: 0px;
  }
}

/* CSS for loading spinner */
.loader {
  border: 8px solid var(--theme-border-faq);
  border-top: 8px solid var(--theme-red);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  z-index: 100;
  /* Above the overlay */
}

.right-arrow {
  vertical-align: text-bottom;
}

/* CSS for the overlay */
.loader-container {
  position: fixed;
  /* Position it relative to the viewport */
  top: 0;
  /* Align to the top */
  left: 0;
  /* Align to the left */
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  display: flex;
  /* Use flexbox */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  z-index: 99999;
  /* Just below the loader */
  background-color: rgba(0, 0, 0, 0.5);
  /* Optional: semi-transparent background */
  display: none;
  /* Hidden by default */
}

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

  100% {
    transform: rotate(360deg);
  }
}

.slider-section {
  overflow: hidden;
  margin-left: var(--container-margin);
  margin-right: var(--container-margin);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 768px) {
  .slider-section {
    margin-left: var(--container-margin-sm);
    margin-right: var(--container-margin-sm);
    padding-left: var(--container-padding-sm);
    padding-right: var(--container-padding-sm);
  }
}

@media (min-width: 1600px) {
  .slider-section {
    margin-left: calc(((100vw - 1600px) / 2 + 4.5rem) * -1);
    margin-right: calc(((100vw - 1600px) / 2 + 4.5rem) * -1);
    padding-left: calc((100vw - 1600px) / 2 + 4.5rem);
    padding-right: calc((100vw - 1600px) / 2 + 4.5rem);
  }
}

.inline-title {
  flex: 1 0 100%;
}

.card {
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  position: relative;
}

.card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.link {
  text-decoration: none;
  color: inherit;
  /*display: block;*/
}

.card:hover {
  transform: translateY(-0.5rem);
}



.circle-buttons {
  display: flex;
  justify-content: space-between;
  width: 120px;
  /* Adjust as needed */
  z-index: 999;
  position: relative;
  padding-top: 2rem;
}

.prev,
.next {
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: solid 1px var(--theme-border-light);
  border-radius: 50%;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
}

.prev img,
.next img {
  vertical-align: middle;
}

/*.next {
  background-image: url(/wp-content/themes/hotels-theme/img/right-arrow.svg);
}

.prev {
  background-image: url(/wp-content/themes/hotels-theme/img/left-arrow.svg);
}*/

.prev:hover,
.next:hover {
  /*background-color: var(--theme-bg-light);*/
  border: solid 1px var(--theme-text-body);
}


.tailcategories .inner>div.active,
.tailcategories .inner>article.active {
  transform: scale(1.25);
  margin: 3rem 3rem 2rem;
}

.tailcategories .inner>div,
.tailcategories .inner>article {
  min-width: 420px;
  max-width: 420px;
  /*min-height: 400px;*/
  transition: all .5s ease-in-out;
}



@media (max-width: 768px) {
  .card img {
    height: 300px;
  }

  .tailcategories .inner>div,
  .tailcategories .inner>article {
    min-width: 320px;
    max-width: 320px;
    /*min-height: 300px;*/
  }

}

@media (max-width: 480px) {

  .tailcategories .inner>div,
  .tailcategories .inner>article {
    min-width: 270px;
    max-width: 270px;
    /*min-height: 270px;*/
  }
}

.tailcategories .inner {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  transition: all .3s ease-in-out;
  gap: 1.5rem;
  /* Allow overflow to be visible */
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(30, 30, 30, 0.5) 30%, rgba(30, 30, 30, 0.7) 50%);
  padding: 1.5rem;
  color: white;
}

.highlight {
  position: relative;
  /* Position relative to create an effect */
  z-index: 1;
  /* Ensure it's above other elements */
}

.highlight::before {
  content: "";
  /* Create a pseudo-element for the highlight */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.3);
  /* Semi-transparent red */
  border-radius: 2rem;
  /* Slight rounding for a softer look */
  transition: opacity 0.5s ease-in-out;
  /* Smooth fade */
  opacity: 1;
  /* Start fully visible */
  z-index: -1;
  /* Place it behind the content */
}

.highlight.fade-out::before {
  opacity: 0;
  /* Fade out effect */
}


.testimonials .tailcategories .inner {
  /*gap: 3rem;*/
}

.tailcategories {
  width: 100%;
  min-height: 200px;
  /*overflow: visible;*/
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .tailcategories .inner {
    gap: 1rem;
  }

  .testimonials .tailcategories .inner {
    gap: 1rem;
  }

  .tailcategories .inner>div.active,
  .tailcategories .inner>article.active {
    transform: scale(1.25);
    margin: 2.25rem 2rem 2rem;
  }
}

@media (max-width: 480px) {

  .tailcategories .inner>div.active,
  .tailcategories .inner>article.active {
    margin: 2rem 2rem 2rem;
  }
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-image.wide:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(27, 27, 27, 0.5);
  border-radius: var(--theme-radius-lg);
  z-index: -1;
}

.home .featured-image.wide:after {
  /*background-color: unset;*/
}

.featured-image.wide {
  position: relative;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 65vh;
  /*padding-bottom: 5rem;*/
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media (min-height: 1200px) {
  .featured-image.wide {
    min-height: 50vh;
  }
}

.featured-image>* {
  padding: 0 3rem;
}

.featured-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  padding: 0;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: var(--theme-radius-lg);
}

.single-page-title {
  text-align: center;
  z-index: 1;
  position: relative;
  margin: 0 0 0;
  color: white;
  text-shadow: 3px 3px 11px #333;
  text-decoration: none;
  letter-spacing: -1px;
}

.list-title {
  font-weight: bold;
  color: white;
  margin: 0;
  text-align: left;
}

/* CSS for pagination */
.pagination {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.pagination ul {
  text-align: center;
  display: flex;
  justify-content: right;
  flex-direction: row;
  list-style: none;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding-inline-start: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  /* Change from 'inline-block' to 'inline-flex' */
  align-items: center;
  /* Vertically center content */
  justify-content: center;
  /* Horizontally center content */
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--theme-border-light);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  width: 36px;
  height: 36px;
}

.pagination .dots {
  border: none;
}

.pagination a:hover,
.pagination .current {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
}

.pagination .prev {
  background-image: url(/wp-content/themes/hotels-theme/img/Vector.svg);
  border: 0;
}

.pagination .next {
  background-image: url(/wp-content/themes/hotels-theme/img/Vector.svg);
  border: 0;
  transform: rotate(180deg);
}

.pagination-title {
  text-align: center;
  font-weight: bold;
  z-index: 1;
  position: relative;
  margin: 1rem;
  color: white;
  text-shadow: 3px 3px 11px #333;
  text-decoration: none;
}

.countries-cities-list>ul {
  column-count: 2;
  column-gap: 2.5rem;
}

.countries-cities-list li.h5 {
  margin: 0.75rem 0;
}

.country-list {
  break-inside: avoid;
}

@media screen and (min-width:1200px) {
  figure.featured-image {
    max-height: 40vw;
  }
}

@media (max-width: 768px) {
  figure.featured-image {
    border-radius: 0;
    margin-bottom: -20rem;
    margin-top: -7rem;
  }

  .featured-image.wide {
    margin-top: 0;
  }

  .featured-image>img,
  .featured-image.wide:after {
    border-radius: 0;
  }

}

@media (max-width: 480px) {
  .single-page-title {
    /*margin: 5em 0 0;*/
  }

  .pagination a,
  .pagination span {
    width: 24px;
    height: 24px;
  }

  .countries-cities-list>ul {
    column-count: 1;
  }
}

.inline-color-red {
  color: var(--theme-red);
}

.inline-shadow {
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.inline-color-yellow {
  color: #F7D393;
}

.two-buttons {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1.5rem;
}

.two-buttons .universal-red-button {
  margin: 0;
}

@media (max-width: 768px) {
  .two-buttons {
    flex-direction: column;
  }
}

.pagination-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  margin: 2rem 0;
}

.pagination-block .card {
  flex: 1 0 25rem;
  position: relative;
  /*overflow: hidden;
  height: 350px;*/
  border: solid 1px var(--theme-border-faq);
  border-radius: 1rem;
  padding: 1rem;
}


@media (min-width: 1280px) {
  .pagination-block {
    justify-content: flex-start;
  }

  .pagination-block .card {
    max-width: calc(33.333% - 1.5rem);
  }
}

@media (max-width: 1279px) and (min-width: 769px) {
  .pagination-block .card {
    flex: 0 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media (max-width: 768px) {
  .pagination-block .card {
    /*height: 300px;*/
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pagination-block .card {
    /*height: 250px;*/
  }
}

/* ── Hotel Star Rating ── */
.hotel-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}
.hotel-stars .star-icon {
    flex-shrink: 0;
}
.hotel-stars .star-filled {
    color: var(--theme-accent-dark);
}
.hotel-stars .star-empty {
    color: #ccc5b8;
}

/* ── WCAG 2.2 AA: Global focus-visible ── */
:focus-visible {
    outline: 3px solid var(--theme-primary);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}