/* Location page enhancements — richer layout, equal package cards, mobile polish */

.location-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.location-fact {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadowSoft, 0 8px 24px rgba(15, 23, 42, 0.06));
}

.location-fact strong {
  display: block;
  color: var(--blue, #0b4f8a);
  font-size: 13px;
  margin-bottom: 4px;
}

.location-fact span {
  color: var(--muted, #64748b);
  font-size: 14px;
  line-height: 1.45;
}

.location-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.location-step {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.location-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 143, 122, 0.12);
  color: var(--primary, #2f8f7a);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.location-step h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--blue, #0b4f8a);
}

.location-step p {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 13px;
  line-height: 1.5;
}

.location-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.location-highlight-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
}

.location-highlight-card h4 {
  margin: 0 0 8px;
  color: var(--blue, #0b4f8a);
  font-size: 16px;
}

.location-highlight-card p,
.location-highlight-card ul {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 14px;
  line-height: 1.55;
}

.location-highlight-card ul {
  padding-left: 18px;
}

.location-faq-section .faq {
  max-width: none;
}

.location-faq-section .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.pkg-view-all-wrap {
  margin-top: 14px;
  text-align: center;
}

.pkg-view-all-wrap .btn {
  display: inline-flex;
}

/* Package cards with images — match thyrocare-packages style */
.pkg-card--with-image {
  padding-top: 0;
  min-height: 0;
  height: 100%;
}

.pkg-card-img {
  margin: 0 -14px 10px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #f1f5f9;
}

.pkg-card-img img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.pkg-card--with-image h3 {
  font-size: 14px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkg-card--with-image .sub {
  font-size: 11px;
  margin-top: 2px;
}

.pkg-card--with-image .pkg-bullets {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.35;
}

.pkg-card--with-image .pkg-bullets li:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards {
  align-items: stretch;
}

/* Compact package CTA — intentional 2-line label, no awkward word-wrap */
.pkg-meta .pkg-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 5px 9px;
  min-width: 70px;
  max-width: 78px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f07a6c, var(--accent, #ef6b5a));
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(239, 107, 90, 0.22);
  box-shadow: 0 4px 10px rgba(239, 107, 90, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pkg-meta .pkg-book-btn:hover {
  background: linear-gradient(180deg, #f2867a, var(--accentHover, #e85f4e));
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(239, 107, 90, 0.2);
}

.pkg-book-btn__lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
  text-align: center;
}

.pkg-book-btn__main {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pkg-book-btn__sub {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.95;
  white-space: nowrap;
}

.pkg-card--with-image .pkg-meta {
  align-items: center;
  gap: 8px;
}

.pkg-card--with-image .price .now {
  font-size: 18px;
}

.pkg-card--with-image .pkg-meta {
  padding-top: 8px;
}

/* Location page: booking sidebar below packages on tablet/mobile */
@media (max-width: 1024px) {
  .location-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .popular-grid .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .location-facts-grid,
  .location-steps,
  .location-highlights,
  .location-faq-section .faq-list {
    grid-template-columns: 1fr;
  }

  .popular-grid .cards {
    grid-template-columns: 1fr;
  }

  .pkg-card-img img {
    height: 88px;
  }

  .pkg-card--with-image {
    min-height: 0;
  }

  .pkg-card--with-image .pkg-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pkg-card--with-image .pkg-book-btn {
    min-width: 74px;
    max-width: 82px;
    padding: 6px 10px;
  }

  .pkg-book-btn__main {
    font-size: 12px;
  }

  .pkg-book-btn__sub {
    font-size: 10px;
  }

  .book-card.home-book-card {
    margin-top: 8px;
  }
}
