/* ---------- resort detail ---------- */

.resort-view { padding: 26px 0 72px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--gold-ink); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.gallery { margin: 0 0 34px; }

.gallery-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gradient-maldives);
  box-shadow: var(--shadow);
}

.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }

.gallery-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
}

.gallery-empty span { font-size: 30px; color: rgba(255, 255, 255, 0.7); }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.gallery-arrow:hover { background: var(--gold); color: #fff; }

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

.gallery-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 44, 80, 0.78);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.gallery-expand:hover { background: var(--gold); }

.gallery-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7, 44, 80, 0.78);
  color: #fff;
  font-size: 12px;
}

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }

.gallery-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--gold); }

.resort-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

.resort-body h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.resort-location { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.resort-category { margin: 14px 0 0; }

.resort-section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.resort-section h2 { font-size: 20px; margin-bottom: 12px; }

.resort-section h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}

.resort-aside { position: sticky; top: 96px; display: grid; gap: 14px; }

.request-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.request-card h2 { font-size: 22px; }
.request-card p { font-size: 14px; color: var(--ink-soft); }
.request-card .button { width: 100%; }

.aside-link { font-size: 14px; font-weight: 600; color: var(--navy); text-align: center; padding: 4px 0; }
.aside-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.aside-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.resort-aside .button-ghost { width: 100%; }

/* ---------- accommodation cards ---------- */

.accommodation-card { margin: 0 0 30px; }

.accommodation-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(68vh, 560px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gradient-maldives);
  box-shadow: var(--shadow);
  margin: 0;
}

.accommodation-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.accommodation-card-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.accommodation-card-heading {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.3;
}

.accommodation-card-media .gallery-prev { left: 14px; }
.accommodation-card-media .gallery-next { right: 14px; }
.accommodation-card-media .gallery-expand { z-index: 3; }
.accommodation-card-media .gallery-counter { z-index: 3; }

.accommodation-card-description { padding: 12px 4px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Text-only cards (meal plans, transfers): same card rhythm, no photo stage. */
.detail-text-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.7); }
.detail-text-card-heading { margin: 0; font-size: 18px; line-height: 1.35; }
.detail-text-card .accommodation-card-description { padding: 8px 0 0; }

/* ---------- FAQ accordion ---------- */
.faq-block { margin-top: 24px; }
.faq-block h3 { font-size: 16px; margin-bottom: 12px; letter-spacing: 0.01em; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(30, 64, 91, 0.05); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--navy); list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus-visible { outline: 3px solid rgba(59, 158, 213, 0.42); outline-offset: -3px; border-radius: 14px; }
.faq-chevron { color: var(--gold); font-size: 18px; line-height: 1; flex: 0 0 auto; transition: transform 0.2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 16px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .accommodation-card-media { aspect-ratio: 4 / 3; }
  .accommodation-card-heading { font-size: 17px; }
}
