/* FAQ Section Styles */
.faq-section {
  padding: 100px 20px 50px;
  background-color: #e9ecef;
}
.faq-container {
  max-width: 1410px;
  margin: 0 auto;
  color: #333f48;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  align-items: start;
}

/* Intro */
.faq-intro {
  margin-bottom: 40px;
}
.faq-section h2.content-title.faq-title {
  line-height: 1.15;
  margin: 0 0 20px;
  padding: 0 !important;
}
.faq-section h5.faq-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #333f48;
  margin: 0;
  padding: 0;
}
.faq-subtitle a {
  color: #94193b;
  text-decoration: none;
  transition: color 0.3s ease;
}
.faq-subtitle a:hover,
.faq-subtitle a:focus {
  color: #00a7b5;
}

/* Q&A items */
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(51, 63, 72, 0.12);
}
.faq-column > .faq-item:first-of-type {
  padding-top: 0;
}
.faq-column > .faq-item:last-child {
  border-bottom: none;
}
.faq-section h3.faq-question {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #333f48;
  margin: 0 0 8px;
  padding: 0;
}
.faq-section p.faq-answer {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #333f48;
  margin: 0;
  padding: 0;
}
.faq-answer a {
  color: #333f48;
  text-decoration: none;
  transition: color 0.3s ease;
}
.faq-answer a:hover,
.faq-answer a:focus {
  color: #00a7b5;
}

/* Large screens */
@media screen and (min-width: 2561px) {
  .faq-section {
    padding: 120px 20px 60px;
  }
  .faq-intro {
    margin-bottom: 50px;
  }
  .faq-section h5.faq-subtitle {
    font-size: 20px;
  }
  .faq-section h3.faq-question {
    font-size: 22px;
  }
  .faq-section p.faq-answer {
    font-size: 16px;
  }
}

/* Laptop (1025px - 1440px) */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .faq-section {
    padding: 80px 20px 40px;
  }
  .faq-intro {
    margin-bottom: 35px;
  }
  .faq-grid {
    column-gap: 50px;
  }
}

/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .faq-section {
    padding: 70px 15px 30px;
  }
  .faq-grid {
    column-gap: 40px;
  }
  .faq-intro {
    margin-bottom: 30px;
  }
  .faq-section h2.content-title.faq-title {
    margin-bottom: 16px;
  }
  .faq-section h5.faq-subtitle {
    font-size: 16px;
  }
  .faq-section h3.faq-question {
    font-size: 18px;
  }
}

/* Mobile (767px and below) - single column */
@media screen and (max-width: 767px) {
  .faq-section {
    padding: 60px 15px 30px;
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-intro {
    margin-bottom: 20px;
  }
  .faq-section h2.content-title.faq-title {
    margin-bottom: 12px;
  }
  .faq-section h5.faq-subtitle {
    font-size: 16px;
  }
  .faq-item {
    padding: 18px 0;
  }
  /* Keep the divider between the two stacked columns */
  .faq-column > .faq-item:last-child {
    border-bottom: 1px solid rgba(51, 63, 72, 0.12);
  }
  .faq-column:last-child > .faq-item:first-of-type {
    padding-top: 18px;
  }
  .faq-column:last-child > .faq-item:last-child {
    border-bottom: none;
  }
  .faq-section h3.faq-question {
    font-size: 17px;
  }
  .faq-section p.faq-answer {
    font-size: 14px;
  }
}

/* Small mobile (375px and below) */
@media screen and (max-width: 375px) {
  .faq-section {
    padding: 50px 15px 25px;
  }
  .faq-section h5.faq-subtitle {
    font-size: 15px;
  }
  .faq-section h3.faq-question {
    font-size: 16px;
  }
  .faq-section p.faq-answer {
    font-size: 13px;
  }
}
