/* Outer container */
.faq-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  min-height: 280px;   /* Default fallback: 4 FAQs */
}

/* Home Page - 4 FAQs (all 5 languages) */
body.page-id-2199 .faq-container,
body.page-id-786 .faq-container,
body.page-id-1751 .faq-container,
body.page-id-788 .faq-container,
body.page-id-3145 .faq-container {
  min-height: 234px;
}

/* Booking Page - 9 FAQs (all 5 languages) */
body.page-id-2467 .faq-container,
body.page-id-2376 .faq-container,
body.page-id-2460 .faq-container,
body.page-id-2463 .faq-container,
body.page-id-2465 .faq-container {
  min-height: 732px;
}

/* Blog Post - 11 FAQs (English only) */
body.postid-9449 .faq-container {
  min-height: 904px;
}

/* FAQ card */
.faq-card {
  width: 100%;
  max-width: 550px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px 20px 0px 20px;
  background: #fff;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
  box-sizing: border-box;
}

/* FAQ item */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

/* Question */
h3.faq-question {
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: #000;
  font-size: 16px;
  margin: 0;
  padding: 2px 20px 0px 0;
  transition: color 0.2s ease;
}

h3.faq-question:hover,
.faq-question.active {
  color: #bf472d;
}

h3.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-weight: bold;
}

h3.faq-question.active::after {
  content: '−';
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin-top: 3px;
  padding-left: 10px;
  padding-bottom: 0;
  line-height: 1.6;
  color: #333;
  font-size: 13px;
  background: #fff8e7;
  border-radius: 6px;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
  will-change: max-height;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 8px;
}

.faq-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item.active:last-of-type .faq-answer {
  padding-bottom: 0;
}

.faq-answer p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #333 !important;
  margin-bottom: 10px !important;
  background: transparent !important;
  padding: 0 !important;
}

.faq-answer p:last-child {
  margin-bottom: 0 !important;
}

