/* ========================================
   FAQ ACCORDION BLOCK
   Expandable Q&A with two-column layout
   Customizable background via color picker
   ======================================== */
.faq-container{
/*     background: #E6E6E6; */
	background: linear-gradient(
  to bottom,
  #ffffff 0%,
  #ffffff 40%,
  #f8f9fb 70%,
  #eceef3 100%
);
    border: 1px solid #e6e8ee;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    border-radius: var(--space-34);
    padding: var(--space-48) !important;
}
.faq-accordion-block {
  /* Background set inline via ACF color picker */
  padding-block: var(--space-96);
  border-radius: 0px;
}

/* Section Heading (Centered) */
.faq-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #222222;
/*   text-align: center; */

  margin-bottom:var(--space-48);
}

/* FAQ Grid */
.faq-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
	
}

/* Two Column Layout */
.layout-two-column .faq-grid {
  grid-template-columns: 1fr 1fr;
/*   gap: 24px 40px; */
	column-gap:var(--space-126);
	row-gap:var(--space-28);
}

/* Single Column Layout */
.layout-single-column .faq-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ----------------------------------------
   Individual FAQ Item
   ---------------------------------------- */
.faq-item {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;

}



/* FAQ Question (Button) */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
  padding-bottom:var(--space-12);
  border-bottom:2px solid #e6e8ee;
}
	.faq-item.active{
		.faq-question{
		border-bottom:unset !important;
}
	}

.question-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #222222;
  flex: 1;
}

/* FAQ Icon (Plus/Minus) */
.faq-icon {
  flex-shrink: 0;
/*   width: 24px;
  height: 24px; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: transform 0.3s ease;
	.icon-plus,
	.icon-minus{
		height: 16px;
        width: 16px;
	}
}

.icon-minus {
  display: none;
}

.faq-item.active .icon-plus {
  display: none;
}

.faq-item.active .icon-minus {
  display: block;
}

/* FAQ Answer (Collapsible) */
.faq-answer {
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer-content {
/*   padding: 0 24px 24px 24px; */
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}

/* ----------------------------------------
   Preview Message (Editor Only)
   ---------------------------------------- */
.preview-message {
  padding: 40px 20px;
  text-align: center;
  background: white;
  border: 2px dashed #ccc;
  color: #666;
  font-size: 16px;
  border-radius: 12px;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-heading {
  animation: fadeInUp 0.6s ease 0.1s both;
}

.faq-item {
  animation: fadeInUp 0.6s ease both;
}

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.25s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.35s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }
.faq-item:nth-child(6) { animation-delay: 0.45s; }
.faq-item:nth-child(7) { animation-delay: 0.5s; }
.faq-item:nth-child(8) { animation-delay: 0.55s; }

/* ----------------------------------------
   Responsive Breakpoints
   ---------------------------------------- */

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) {
  .layout-two-column .faq-grid {
    gap: 20px 32px;
  }
}

/* Tablet Large (1024px - 1199px) */
@media (max-width: 1199px) {
  .faq-accordion-block {
    padding: 60px 0;
  }
  
  .faq-heading {
    font-size: 32px;
    margin-bottom: 50px;
  }
  
  .layout-two-column .faq-grid {
    gap: 16px 24px;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .faq-accordion-block {
    padding: 50px 0;
    border-radius: 0px;
  }
  .faq-container{
    border-radius: 0px;
  }
/*   .find-staff-cta {
    margin: 60px;
  } */
  .faq-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  /* Stack to single column on tablet */
  .layout-two-column .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-question {
    padding: 18px 20px;
  }
  
  .question-text {
    font-size: 15px;
  }
  
  .faq-answer-content {
    padding: 0 20px 20px 20px;
    font-size: 14px;
  }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
  .faq-accordion-block {
    padding: 40px 0;
    border-radius: 0px;
  }
  
  .faq-heading {
    font-size: 26px;
    margin-bottom: 32px;
  }
  
  .faq-question {
    padding: 16px 0px !important;
  }
  
  .question-text {
    font-size: 14px;
  }
  
  .faq-answer-content {
    padding: 0 !important;
    font-size: 13px;
  }
}

/* Mobile Small (≤480px) */
@media (max-width: 480px) {
  .faq-container{
    border-radius: 0%;
	padding:var(--space-28);
  }
  .faq-accordion-block {
/*     padding: 32px 0; */
	  
	padding-block:var(--space-64);
    border-radius: 0px;
  }
  
  .faq-heading {
    font-size: 24px;
    margin-bottom: var(--space-12);
  }
  
  .faq-grid {
    gap: 12px;
  }
  
  .faq-question {
    padding: 14px 16px;
  }
  
  .question-text {
    font-size: 13px;
  }
  
  .faq-icon {
    width: 20px;
    height: 20px;
  }
  
  .faq-answer-content {
    padding: 0 16px 16px 16px;
  }
}

/* ----------------------------------------
   Accessibility
   ---------------------------------------- */
.faq-question:focus {
  outline: 3px solid #FF3B85;
  outline-offset: 2px;
}

.faq-question:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .faq-heading,
  .faq-item {
    animation: none;
  }
  
  .faq-item,
  .faq-question,
  .faq-answer,
  .faq-icon {
    transition: none;
  }
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
  .faq-accordion-block {
    padding: 20px 0;
    background: white !important;
    border-radius: 0;
  }
  
  .faq-answer {
    display: block !important;
  }
  
  .faq-answer[hidden] {
    display: block !important;
  }
  
  .faq-icon {
    display: none;
  }
  
  .faq-item {
    page-break-inside: avoid;
  }
}
.faq-accordion-block{
	background:unset !important;
}

/* ----------------------------------------
   Gutenberg Editor Styles
   ---------------------------------------- */
.block-editor-block-list__block[data-type="acf/faq-accordion"] {
  margin: 20px 0;
}
.wp-block-group .faq-accordion-block{
	padding-bottom:var(--space-96) !important;
	padding-top:0 !important;
}