.exp-text h3 {
  font-size: 18px !important;
}

.pageHero.-type-2 {
  position: relative;
  display: flex;
  align-items: center;
  height: 70vh;
  z-index: 0;
}

.places-section {
  padding: 80px 6%;
  display: block !important;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.place-card {
  display: flex;
  flex-direction: column;
}

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

.place-content {
  padding-top: 20px;
}

.place-meta {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
}

.place-content h3 {
  font-size: 20px !important;
  margin: 10px 0;
  color: #575a49;
}

.place-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
   white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-content a {
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  position: relative;
}

.place-content a::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #000;
  margin-top: 6px;
}
/* Base styles (mobile first – responsive) */
.place-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.place-card img {
  width: 100%;
  max-width: 335px;
  height: auto;
  aspect-ratio: 335 / 447;
  object-fit: cover;
}

.place-content {
  width: 100%;
  max-width: 335px;
  padding-top: 20px;
}

/* 💻 Laptop & Desktop */
@media (min-width: 1024px) {



  .place-card img {
    width: 335px;
    height: 447px;
  }

  .place-content {
    width: 335px;
  }
}

/* Overlay */
.place-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.place-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Popup Box */
.popup-box {
  position: relative;
  display: flex;
  max-width: 900px;
  width: 95%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  animation: scaleIn 0.3s ease;
}

/* Image */
.popup-image {
  width: 45%;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.popup-content {
  width: 55%;
}

.popup-meta {
  color: #777;
  font-size: 14px;
  letter-spacing: 1px;
}

.popup-content h2 {
  margin: 15px 0;
  font-size: 28px;
}

.popup-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Buttons */
.popup-actions {
  display: flex;
  gap: 15px;
}

.btn-outline {
  padding: 12px 22px;
  border: 1px solid #9b9b63;
  color: #9b9b63;
  text-decoration: none;
  border-radius: 6px;
}

.btn-solid {
  padding: 12px 22px;
  background: #9b9b63;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

/* Close */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  border: none;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

/* Animation */
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .popup-box {
    flex-direction: column;
  }
  .popup-image,
  .popup-content {
    width: 100%;
  }
  .popup-content {
    padding: 25px;
  }
}
.custom-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.popup-content {
  display: flex;
  max-width: 900px;
  width: 95%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.popup-left {
  width: 45%;
}

.popup-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-right {
  width: 55%;
  padding: 50px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafaf8;
}

.popup-right h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.popup-right p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.book-btn {
  text-decoration: none;
  font-size: 12px !important;
  color: #fff;
  background-color: #948f5f;
  padding: 14px 20px;
  text-align: center;
  width: 100%;
  max-width: 260px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.book-btn:hover {
  background-color: #948f5f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  font-weight: bold;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  /* ensures it stays above image */
}
.mobile-exp {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
 
  .places-section {
    display: none !important;
  }

  .mobile-exp {
    display: block !important;
  }

  
  
  .place-meta {
    display: flex;
    align-items: center;
    justify-content: center;
  }

}

/* ===============================
   MOBILE POPUP IMPROVEMENTS
================================ */
@media (max-width: 768px) {

 .place-card img {
    width: 100%;
    max-width: 300px!important;
    height: 250px!important;
    aspect-ratio: 335 / 447;
    object-fit: cover;
}

  /* Popup wrapper */
  .custom-popup {
    padding: 15px;
  }

  /* Popup box */
  .popup-content {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    /*height: 70%;*/
    border-radius: 14px;
    overflow: hidden;
    padding: 0px!important;
  }

  /* Image section */
  .popup-left {
    width: 100%;
    height: 303px; /* controlled height */
  }

  .popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Content section */
  .popup-right {
    width: 100%;
    padding: 20px 18px;
    background: #fafaf8;
    text-align:center!important;
  }

  .popup-right h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #575a49;
  }

  .popup-right p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444;
  }

  /* Buttons container */
 


  /* Buttons */
  .book-btn {
    font-size: 10px !important;
    padding: 8px 8px;
    max-width: 100%;
    border-radius: 4px;
  }

  /* Close button */
  .close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.95);
  }
}
