@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
:root {
  --img-height: 200px;
  --btn-bg: #007B98;
  --btn-border: none;
  --font: "Heebo", sans-serif
}

.hotels-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-family: var(--font);
}

.hotels-item {
  width: calc((100% - 60px) / 3);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
  color: #000;
  background-color: #f3f3f3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hotels-item img {
  width: 100%;
  height: var(--img-height) !important;
  object-fit: cover;
  opacity: 0.8;
  transition: All 0.2s ease;
}

.hotels-item img:hover {
  opacity: 1;
  transform: translateY(8px);
}

.hotels-item h2 {
  font-size: 18px;
  margin: 0;
  padding: 0 20px;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font);
}

.hotels-item .paragraph {
  padding: 0 20px;
  color: #000;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  font-family: var(--font);
}

.hotels-item a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font);
}

.hotels-item a:hover {
  text-decoration: none;
  color: #000;
}

.hotels-item a.btn {
  width: max-content;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--btn-border);
  background-color: var(--btn-bg);
  color: #fff;
  box-sizing: border-box;
  padding: 12px 24px;
  margin: auto 20px 20px;
  font-family: Tahoma;
  font-size: 15px;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  font-family: var(--font);
  line-height: 1em;
  transition: all 0.3s ease;
}

.hotels-item a.btn:hover {
  border: var(--btn-border);
  background-color: var(--btn-bg);
  color: #fff;
  transform: translateY(8px);
}

.hotels-item-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.2);
}

.hotels-item-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90vh;
  width: 90vw;
  max-width: 1400px;
  z-index: 1000;
  padding: 50px 30px;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 10px 35px -5px rgba(0, 0, 0, 0.75);
}

button.hotels-item-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: transparent;
  z-index: 10;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

button.hotels-item-popup-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.hotels-item-popup-image-wrapper {
  height: 400px;
  display: none;
}

.hotels-item-popup-image {
  display: block;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
}

.hotels-item-popup-content {
  color: #000;
}

.rssItemImage {
  display: none;
}

.hotels-item-popup-content .rssItemImage {
  float: right;
}

html[dir="rtl"] .hotels-item-popup-content .rssItemImage {
  float: left;
}

.hotels-item-popup-content .rssItemTitle {
  font-weight: 600;
  font-size: 20px;
}

@media screen and (max-width: 992px) {
  .hotels-item {
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 768px) {
  .hotels-item {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .hotels-item .hotels-item-image {
    height: 360px;
  }

  .hotels-item-footer {
    height: calc(100% - 360px);
  }
}

@media screen and (max-width: 450px) {
  .hotels-item .hotels-item-image {
    height: 300px;
  }

  .hotels-item-footer {
    height: calc(100% - 300px);
  }
}

@media screen and (max-width: 380px) {
  .hotels-item .hotels-item-image {
    height: 250px;
  }

  .hotels-item-footer {
    height: calc(100% - 250px);
  }
}