/* Qibla Finder - FAQ Accordion */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #ffffff;
}

.faq-section {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 12px 20px;
}

.faq-title {
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  color: #172033;
  text-align: center;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid #e3e7ea;
  border-radius: 15px;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  min-height: 66px;
  padding: 18px 26px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: #fcfcfb;
}

.faq-question[aria-expanded="true"] {
  color: #0b6a52;
  font-weight: 600;
}

.faq-chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(225deg);
}

.faq-answer {
  border-top: 2px solid #d4e6dd;
}

.faq-answer-inner {
  padding: 17px 26px 20px;
  color: #676767;
  font-size: 18px;
  line-height: 1.55;
}

.faq-answer-inner p {
  margin: 0 0 14px;
}

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

@media (max-width: 700px) {
  .faq-section {
    padding: 8px 6px 16px;
  }

.faq-title {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

  .faq-item {
    border-radius: 13px;
    margin-bottom: 10px;
  }

.faq-question {
  min-height: 54px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

  .faq-answer-inner {
    padding: 15px 18px 18px;
    font-size: 16px;
    line-height: 1.55;
  }
}
