/*!
 * FAQ Main Page css
 * Migrated 2026-05-21 from WPCode snippet #6063.
 * Enqueue condition: is_post_type_archive('faq')
 */

/* =============================

   FAQ Intro Section

============================= */

#faq-intro-section {

  display: block;

  padding: 32px 20%;

  font-family: "Segoe UI", Roboto, Helvetica, sans-serif;

  text-align: center;

  color: #fff;

  background-color: #111;

}



/* =============================

   FAQ Body Container

============================= */

#faq-body-container {

width:auto;

	display: flex;

  flex-direction: column;

  row-gap: 20px;

  padding: 24px;

  margin: 32px 200px;

  font-family: "Segoe UI", Roboto, Helvetica, sans-serif;

  background-color: #fff;

  background: #fff no-repeat 0% 0% scroll;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

  border-radius: 8px;

  unicode-bidi: isolate;

}



/* =============================

   FAQ Navigation Bar

============================= */

#faq-navigation-bar {

  display: flex;

  text-align: center;

  padding-bottom: 16px;

  font-family: "Segoe UI", Roboto, Helvetica, sans-serif;

  border-bottom: 1px solid #ddd;

  unicode-bidi: isolate;

}



/* =============================

   FAQ Navigation Links

============================= */

.faq-nav-link {

  display: inline-block;

  font-size: 0.95rem;

  padding: 6px 14px;

  background-color: #f1f1f1;

  border-radius: 4px;

  margin-right: 8px;

  text-decoration: none;

  color: #333;

  font-weight: 500;

  transition: all 0.2s ease;

}



.faq-nav-link:hover {

  background-color: #ddd;

}



/* =============================

   FAQ Typography

============================= */

#faq-body-container h2 {

  margin-top: 2.5rem;

  font-size: 1.4rem;

  font-weight: bold;

  border-bottom: 2px solid #eee;

  padding-bottom: 0.4rem;

  display: block;

  unicode-bidi: isolate;



}



#faq-body-container h3 {

  font-size: 1rem;



}



#faq-body-container h4,

#faq-body-container h5,

#faq-body-container p,

#faq-body-container li {

  font-size: 0.95rem;

  display: block;

  margin: 1em 0;

  unicode-bidi: isolate;



}



/* =============================

   FAQ Toggle Content (Answer)

============================= */

#faq-post-content {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.3s ease;



	

}



#faq-post-content.open {

  max-height: 1000px; /* Adjust based on expected content height */

  list-style-type: disclosure-open;

}



/* =============================

   FAQ Posts Loop Wrapper

============================= */

#FAQ_Posts_query-loop {

  margin-top: 1rem;

  border: 1px solid #e0e0e0;

  border-radius: 4px;

  padding: 0.8rem;

  background: #fdfdfd;



}



/* =============================

   FAQ Question Trigger

============================= */

#faq_post_name {

  font-weight: bold;

  font-size: 16px;

  cursor: pointer;

  outline: none;



}



/* Add disclosure icon and indent first item */

#FAQ_Posts_query-loop > #faq_post_name:first-of-type {

  display: list-item;

  counter-increment: list-item 0;

  list-style: disclosure-closed outside;

  margin-left: 20px;

}



@media (max-width: 768px) {

  #faq-body-container {

    margin: 16px;

    padding: 16px;

  }



  #faq-intro-section {

    padding: 24px 16px;

  }



  .faq-nav-link {

    margin: 4px;

    font-size: 0.85rem;

    white-space: nowrap;

  }



  #faq-navigation-bar {

    flex-wrap: wrap;

    justify-content: center;

  }

}
