/* =====================================================================
   Astrust Travel — Single hotel layout (gallery-first, RTL).
   Self-contained: defines its own variables so it can load with or
   without hotel.css. Class prefix: .hs
   ===================================================================== */
.hs {
  display: block;
  color: var(--ast-ink);
  background: var(--ast-bg);
}

.hs *,
.hs *::before,
.hs *::after {
  box-sizing: border-box;
}

/* ── Hero ── */
.hs__hero {
  position: relative;
  background: linear-gradient(135deg, var(--ast-primary), #0f1b4c);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hs__hero[style*="--ast-hero"] {
  background-image: var(--ast-hero);
}
.hs__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 76, 0.45) 0%,
    rgba(15, 23, 76, 0.82) 100%
  );
}
.hs__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-width, 1140px);
  margin-inline: auto;
  padding: 40px 20px 56px;
}

.hs__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hs__crumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.hs__crumb a:hover {
  color: #fff;
}
.hs__crumb svg {
  width: 16px;
  height: 16px;
}
.hs__crumb-sep {
  opacity: 0.6;
}
.hs__crumb-current {
  opacity: 0.9;
}

.hs__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #eabd33;
  margin-bottom: 10px;
}
.hs__star {
  width: 18px;
  height: 18px;
}
.hs__stars-label {
  margin-inline-start: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.hs__title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hs__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}
.hs__address svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hs__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Buttons ── */
.hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.hs-btn svg {
  width: 18px;
  height: 18px;
}
.hs-btn--accent {
  background: var(--ast-accent);
  color: white;
  box-shadow: 0 10px 24px rgba(45, 166, 69, 0.35);
}
.hs-btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(45, 166, 69, 0.45);
}

/* ── Layout (main + aside) ── */
.hs__layout {
  width: 100%;
  max-width: var(--content-width, 1140px);
  margin-inline: auto;
  padding: 0 20px 64px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

/* Main column */
.hs__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hs-section {
  background: #fff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 27, 76, 0.05);
}
.hs-section__title {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ast-primary);
}

/* ── Gallery ── */
.hs-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 10px;
}
.hs-gallery__item {
  position: relative;
  display: block;
  border-radius: var(--ast-radius-sm);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.hs-gallery__item:hover {
  transform: scale(1.015);
  filter: brightness(1.04);
}
.hs-gallery__item--lead {
  grid-column: span 2;
  grid-row: span 2;
}
.hs-gallery__item.is-hidden {
  display: none;
}
.hs-gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 76, 0.55);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

/* ── Booking form (Gravity Forms) ── */
.hs-section--form {
  border-top: 3px solid var(--ast-accent);
}
.hs-form {
  margin: 0;
}
/* Keep the auto-filled hidden fields hidden even if rendered as text fields. */
.hs-form .hotel_name_field,
.hs-form .hotel_stars_field {
  display: none !important;
}
.hs-form .gform_wrapper {
  margin: 0;
}
.hs-form .gform_title {
  margin-top: 0;
}

/* ── Prose ── */
.hs-prose {
  font-size: 1rem;
  line-height: 1.9;
  color: #374151;
}
.hs-prose :first-child {
  margin-top: 0;
}
.hs-prose :last-child {
  margin-bottom: 0;
}
.hs-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ast-radius-sm);
}

/* ── Facilities ── */
.hs-facilities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.hs-facility {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hs-facility__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(27, 42, 107, 0.07);
  color: var(--ast-primary);
}
.hs-facility__icon-wrap svg,
.hs-facility__icon-wrap .hotel-facility__icon {
  width: 20px;
  height: 20px;
}
.hs-facility__icon-wrap img.hotel-facility__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.hs-facility__icon-wrap .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
.hs-facility__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ast-ink);
  text-decoration: none;
}
.hs-facility__name:hover {
  color: var(--ast-primary);
  text-decoration: underline;
}

/* ── Tags (features / nearby) ── */
.hs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hs-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ast-bg);
  border: 1px solid var(--ast-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ast-ink);
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.hs-tag:hover {
  background: #fff;
  border-color: var(--ast-accent);
  color: var(--ast-primary);
}
.hs-tag svg {
  width: 15px;
  height: 15px;
  color: var(--ast-accent);
}

/* ── Nearby places (distance repeater) ── */
.hs-nearby {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hs-nearby__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ast-line);
  border-radius: 14px;
  background: var(--ast-bg);
}
.hs-nearby__places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.hs-nearby__distance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ast-accent);
  color: var(--ast-primary);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  direction: ltr;
}
.hs-nearby__distance svg {
  width: 16px;
  height: 16px;
  color: var(--ast-accent);
}

/* ── Nearby exhibition venues (rows: venues + distance + per-venue link) ── */
.hs-venues {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hs-venue-row {
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius-sm);
  padding: 12px 14px;
  background: #fff;
}
.hs-venue-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.hs-venue-row__places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hs-venue-row__distance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ast-muted);
  white-space: nowrap;
  direction: ltr;
}
.hs-venue-row__distance svg {
  width: 16px;
  height: 16px;
  color: var(--ast-accent);
}
.hs-venue-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hs-venue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--ast-accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ast-accent);
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.hs-venue-btn:hover {
  background: var(--ast-accent);
  color: #fff;
}
.hs-venue-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── Aside ── */
.hs__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.hs-card {
  background: #fff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 27, 76, 0.05);
}
.hs-card__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ast-primary);
}

.hs-facts__list {
  margin: 0;
}
.hs-facts__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ast-line);
}
.hs-facts__row:last-child {
  border-bottom: 0;
}
.hs-facts__row dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ast-muted);
  flex-shrink: 0;
}
.hs-facts__row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: end;
}
.hs-facts__row dd a {
  color: var(--ast-primary);
  text-decoration: none;
}
.hs-facts__row dd a:hover {
  text-decoration: underline;
}

/* ── Map card ── */
.hs-map__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--ast-radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--ast-bg);
}
.hs-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hs-map__addr {
  display: block;
  font-size: 0.85rem;
  color: var(--ast-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.hs-map__dir {
  width: 100%;
  justify-content: center;
}

/* ── Lightbox ── */
.hs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 33, 0.92);
  padding: 40px;
}
.hs-lightbox.is-open {
  display: flex;
}
.hs-lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.hs-lightbox__close,
.hs-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.hs-lightbox__close:hover,
.hs-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}
.hs-lightbox__close {
  top: 24px;
  inset-inline-end: 24px;
}
.hs-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.hs-lightbox__prev {
  inset-inline-start: 24px;
}
.hs-lightbox__next {
  inset-inline-end: 24px;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hs__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 860px) {
  .hs__layout {
    grid-template-columns: 1fr;
  }
  .hs__aside {
    position: static;
  }
}
@media (max-width: 560px) {
  .hs-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
  .hs-gallery__item--lead {
    grid-column: span 2;
  }
  .hs-section {
    padding: 18px;
  }
  .hs-lightbox {
    padding: 16px;
  }
}
