:root {
  --faq-bg: #f7f3ee;
  --faq-accent: #0d4d3c;
  --faq-muted: #6b6b6b;
  --faq-card: #ffffff;
  --faq-border: rgba(13, 77, 60, 0.12);
  --faq-highlight: rgba(13, 77, 60, 0.08);
  --faq-number: rgba(13, 77, 60, 0.15);
  
  /* Fluid Typography — PBRS standard */
  --fs-h1: clamp(1.5rem, 4vw, 2rem);
  --fs-h2: clamp(1.5rem, 4vw, 2rem);
  --fs-body: clamp(1rem, 1.1vw, 1.15rem);
  --fs-small: clamp(0.9rem, 1vw, 1rem);
  
  /* Spacing */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1.25rem, 2vw, 2rem);
  --space-lg: clamp(2rem, 3vw, 3.5rem);
  --space-xl: clamp(3rem, 5vw, 5rem);
  --space-2xl: clamp(5rem, 8vw, 8rem);
}

#faqPage {
  background-color: var(--faq-bg);
}

#faqPage .headerFull {
  background-color: #fff;
}

#faqPage [data-role="content"] {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.faqHero {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  color: #1b1b1b;
  position: relative;
  text-align: center;
  max-width: 1024px;
  margin: 0 auto;
}

.faqEyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--faq-accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
  position: relative;
}

.faqEyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--faq-accent);
  opacity: 0.3;
  margin: 4px auto 0;
}

.faqHero .leoxTitle {
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
  line-height: 1.2;
  color: #1e2a21;
  margin-bottom: var(--space-md);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(224, 230, 164, 0.4);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.faqSubtitle {
  color: var(--faq-muted);
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  line-height: 1.75;
  max-width: 70ch;
  margin: 0 auto var(--space-lg);
  font-weight: 400;
  text-align: center;
}

.faqHeroImage {
  margin-top: var(--space-lg);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.faqHeroImage img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.faqHeroImage:hover img {
  transform: scale(1.02);
}

.faqGrid {
  padding: 0 var(--space-md) var(--space-2xl);
  display: grid;
  gap: var(--space-lg);
  max-width: 1024px;
  margin: 0 auto;
}

.faqItem {
  background: var(--faq-card);
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: 0 4px 20px rgba(13, 77, 60, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden; /* For edge-to-edge images */
}

.faqItem:hover {
  box-shadow: 0 8px 32px rgba(13, 77, 60, 0.1);
  transform: translateY(-2px);
}

.faqQuestion {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.faqQuestionNumber {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4d3c 0%, #1e6b50 100%);
  color: #d2bd86;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(13, 77, 60, 0.25);
  letter-spacing: 0;
}

.faqQuestionText {
  flex: 1;
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
  font-weight: 700;
  line-height: 1.2;
  color: #0f2c23;
  margin: 0;
}

.faqAnswer {
  color: #333;
  line-height: 1.75;
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  padding-left: calc(44px + var(--space-md));
  position: relative;
}

.faqAnswer::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--faq-accent), transparent);
  opacity: 0.2;
}

.faqAnswer p {
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  line-height: 1.75;
  text-align: justify;
  max-width: 70ch;
  margin: 0;
  margin-bottom: 1.5rem;
}

.faqAnswer p:last-child {
  margin-bottom: 0;
}

.faqImageContainer {
  margin-top: var(--space-md);
  /* Break out of the padding */
  margin-left: calc(var(--space-lg) * -1);
  margin-right: calc(var(--space-lg) * -1);
  margin-bottom: calc(var(--space-lg) * -1);
  width: calc(100% + var(--space-lg) * 2);
  
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.faqImage {
  width: 100%;
  height: auto;
  display: block;
}

.faqImageCaption {
  font-size: 0.9rem;
  color: var(--faq-muted);
  font-style: italic;
  padding: 12px 20px;
  background: #fafafa;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 0 !important;
}

.faqContact {
   margin: 0 var(--space-md) var(--space-2xl);
   padding: var(--space-xl);
   text-align: center;
   background: var(--faq-highlight);
   border-radius: 32px;
   border: 1px solid var(--faq-border);
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
}

.faqContactTitle {
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
  line-height: 1.2;
  font-weight: 700;
  color: var(--faq-accent);
  margin-bottom: var(--space-xs);
}

.faqContact p {
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  line-height: 1.75;
  margin: 0;
}

.faqContact a {
  font-weight: 600;
  color: #0c6b50;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.faqContact a:hover {
   border-color: currentColor;
   text-decoration: none;
}

/* Bottom Booking Widget */
.bottom-booking-section {
  background: transparent !important;
  padding: 36px 20px 44px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

.bottom-booking-title {
  color: red;
  font-family: 'AaMgScript', 'AaMgScript-Regular', cursive !important;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
  font-weight: normal !important;
  text-transform: none !important;
}

.bottom-booking-widget {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .bottom-booking-section {
    display: none;
  }
  .faq-mobile-book-wrap {
    display: flex;
    justify-content: center;
    padding: 28px 20px 36px;
  }
}

@media (min-width: 768px) {
  .faq-mobile-book-wrap {
    display: none;
  }
}

/* Mobile book button — same style as rooms/package page */
.pkg-book-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  background: #C0392B !important;
  color: #f5ede8 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 2px !important;
  padding: 1.1rem 2rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  white-space: normal !important;
  text-shadow: none !important;
  box-shadow: 0 4px 24px rgba(192, 57, 43, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.pkg-book-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.pkg-book-btn:hover::after { transform: translateX(100%); }

.pkg-book-btn:hover {
  background: #96281B !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 32px rgba(150, 40, 27, 0.45) !important;
  transform: translateY(-2px) !important;
}

.pkg-book-btn:active {
  transform: translateY(0) !important;
}

.pkg-book-btn-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
  line-height: 1;
  flex-shrink: 0;
}

.pkg-book-btn:hover .pkg-book-btn-arrow {
  transform: translateX(4px);
}

@media (min-width: 992px) {
  .faqGrid {
    grid-template-columns: 1fr;
    max-width: 1024px;
    gap: var(--space-lg);
  }

  /* All items: base flex container */
  .faqItem {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  /* Items with image: stack question full-width, then answer+image side by side */
  .faqItem--hasImg {
    flex-direction: column;
  }

  .faqItem--hasImg .faqQuestion {
    padding: var(--space-lg) var(--space-lg) var(--space-sm);
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Row below the question: answer on one side, image on the other */
  .faqItem__row {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: stretch;
  }

  .faqItem--imgLeft .faqItem__row {
    flex-direction: row-reverse;
  }

  .faqTextWrapper {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* hasImg answer: no indentation — question badge is above, not beside */
  .faqItem--hasImg .faqTextWrapper {
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    justify-content: flex-start;
  }

  .faqItem--hasImg .faqAnswer {
    padding-left: 0;
  }

  .faqItem--hasImg .faqAnswer::before {
    display: none;
  }

  .faqImageContainer {
    flex: 0 0 50%;
    margin: 0;
    width: auto;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fafafa;
  }

  .faqImage {
    width: 100%;
    height: auto;
    display: block;
  }

  .faqImageCaption {
    position: relative;
    background: transparent;
    border-top: none;
    padding: 12px 20px;
  }

  /* Text-only items: text wrapper fills full width */
  .faqItem:not(:has(.faqImageContainer)) .faqTextWrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .faqTextWrapper {
    display: block;
  }
}

/* ── Food / dish list inside FAQ answers ── */
.faq-food-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 70ch;
}

.faq-food-list li {
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 0.6rem;
  padding-left: 1.4em;
  position: relative;
  text-align: justify;
}

.faq-food-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #0d4d3c;
  font-weight: 700;
}

.faq-food-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .faq-food-list li {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .faqAnswer p,
  .faqSubtitle {
    text-align: left;
  }
}
