

/* =========================================
   GLOBAL FAQ RESET
========================================= */

.prombs-faq-wrapper,
.prombs-faq-wrapper *,
.prombs-faq-wrapper *::before,
.prombs-faq-wrapper *::after {
  box-sizing: border-box;
}


.prombs-faq-wrapper {
  width: min(100%, 1200px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Poppins", sans-serif !important;
  overflow: visible;
}


.prombs-faq-wrapper button,
.prombs-faq-wrapper div,
.prombs-faq-wrapper span {
  font-family: "Poppins", sans-serif !important;
}


/* =========================================
   FAQ ITEM
========================================= */

.prombs-faq-item {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #F3F4F6;
  border-radius: 14px;
  background-color: #FFFFFF;
  overflow: hidden;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}


.prombs-faq-item:hover {
  border-color: #D8E5EE !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(7, 31, 73, 0.08) !important;
  transform: translateY(-2px);
}


/* =========================================
   QUESTION BUTTON
========================================= */

.prombs-faq-wrapper .prombs-faq-question {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 68px;

  margin: 0 !important;
  padding: 18px 24px !important;

  border: none !important;
  border-radius: 0 !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  box-shadow: none !important;
  text-decoration: none !important;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 20px;

  font-family: "Poppins", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;

  color: #00285D !important;
  text-align: left !important;

  cursor: pointer;
  outline: none !important;
  overflow: visible;

  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}


.prombs-faq-wrapper .prombs-faq-question:hover,
.prombs-faq-wrapper .prombs-faq-question:focus,
.prombs-faq-wrapper .prombs-faq-question:focus-visible,
.prombs-faq-wrapper .prombs-faq-question:active,
.prombs-faq-wrapper .prombs-faq-question:visited {
  color: #00285D !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none !important;
}


.prombs-faq-wrapper .prombs-faq-question:focus-visible {
  outline: 2px solid rgba(42, 147, 206, 0.45) !important;
  outline-offset: -3px !important;
}


.prombs-faq-question > span:first-child {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;

  color: #00285D !important;
  font-family: "Poppins", sans-serif !important;

  white-space: normal !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}


/* =========================================
   ICON
========================================= */

.prombs-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  width: 38px;
  min-width: 38px;
  max-width: 38px;

  height: 38px;
  min-height: 38px;
  max-height: 38px;

  border-radius: 50%;

  background-color: #F3F8FC !important;
  color: #64748B !important;

  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s ease,
    color 0.3s ease;

  transform: rotate(0deg);
  transform-origin: center;
  will-change: transform;
}


.prombs-faq-icon svg {
  display: block;

  width: 19px;
  min-width: 19px;
  height: 19px;

  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}


.prombs-faq-question:hover .prombs-faq-icon,
.prombs-faq-question:focus .prombs-faq-icon,
.prombs-faq-question:active .prombs-faq-icon {
  background-color: #EAF5FB !important;
  color: #2A93CE !important;
}


.prombs-faq-question:hover .prombs-faq-icon svg,
.prombs-faq-question:focus .prombs-faq-icon svg,
.prombs-faq-question:active .prombs-faq-icon svg {
  stroke: currentColor !important;
}


/* =========================================
   ANSWER
========================================= */

.prombs-faq-answer {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  display: grid;
  grid-template-rows: 0fr;

  visibility: hidden;
  opacity: 0;

  transition:
    grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    visibility 0.35s ease;
}


.prombs-faq-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;

  overflow: hidden;

  padding: 0 24px;

  font-family: "Poppins", sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;

  color: #64748B !important;

  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;

  transition:
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================
   ACTIVE STATE
========================================= */

.prombs-faq-item.active {
  border-color: #CFE5F2 !important;
  background-color: #FAFDFF !important;
  box-shadow: 0 12px 32px rgba(42, 147, 206, 0.08) !important;
}


.prombs-faq-item.active:hover {
  border-color: #CFE5F2 !important;
  background-color: #FAFDFF !important;
}


.prombs-faq-item.active .prombs-faq-question,
.prombs-faq-item.active .prombs-faq-question:hover,
.prombs-faq-item.active .prombs-faq-question:focus,
.prombs-faq-item.active .prombs-faq-question:active {
  color: #00285D !important;
  background: transparent !important;
  background-color: transparent !important;
}


.prombs-faq-item.active .prombs-faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}


.prombs-faq-item.active .prombs-faq-content {
  padding-bottom: 24px;
}


.prombs-faq-item.active .prombs-faq-icon {
  transform: rotate(-180deg);
  background-color: #2A93CE !important;
  color: #FFFFFF !important;
}


.prombs-faq-item.active .prombs-faq-icon svg {
  stroke: #FFFFFF !important;
}


/* =========================================
   TABLET LANDSCAPE
========================================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 15px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 66px;
    padding: 17px 22px !important;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 18px;
  }

  .prombs-faq-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 22px;
  }

}


/* =========================================
   TABLET PORTRAIT
========================================= */

@media (min-width: 601px) and (max-width: 768px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 64px;
    padding: 16px 20px !important;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 15px;
    font-size: 14.5px !important;
  }

  .prombs-faq-icon {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
  }

  .prombs-faq-icon svg {
    width: 18px;
    min-width: 18px;
    height: 18px;
  }

  .prombs-faq-content {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 13.5px;
    line-height: 1.72;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 21px;
  }

}


/* =========================================
   LARGE MOBILE
========================================= */

@media (min-width: 481px) and (max-width: 600px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .prombs-faq-item {
    border-radius: 12px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 62px;
    padding: 16px 17px !important;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 12px;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .prombs-faq-icon {
    flex-basis: 34px;
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
  }

  .prombs-faq-icon svg {
    width: 17px;
    min-width: 17px;
    height: 17px;
  }

  .prombs-faq-content {
    padding-left: 17px;
    padding-right: 17px;
    font-size: 13px;
    line-height: 1.7;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 19px;
  }

}


/* =========================================
   STANDARD MOBILE
========================================= */

@media (min-width: 376px) and (max-width: 480px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 11px;
  }

  .prombs-faq-item {
    border-radius: 12px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 60px;
    padding: 15px !important;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 10px;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .prombs-faq-icon {
    flex-basis: 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
  }

  .prombs-faq-icon svg {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }

  .prombs-faq-content {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
    line-height: 1.68;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 17px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (min-width: 321px) and (max-width: 375px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .prombs-faq-item {
    border-radius: 11px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 58px;
    padding: 14px !important;
    grid-template-columns: minmax(0, 1fr) 31px;
    gap: 9px;
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  .prombs-faq-icon {
    flex-basis: 31px;
    width: 31px;
    min-width: 31px;
    max-width: 31px;
    height: 31px;
    min-height: 31px;
    max-height: 31px;
  }

  .prombs-faq-icon svg {
    width: 15px;
    min-width: 15px;
    height: 15px;
  }

  .prombs-faq-content {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 12.8px;
    line-height: 1.65;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 16px;
  }

}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 320px) {

  .prombs-faq-wrapper {
    width: 100%;
    max-width: 100%;
    gap: 9px;
  }

  .prombs-faq-item {
    border-radius: 10px;
  }

  .prombs-faq-wrapper .prombs-faq-question {
    min-height: 56px;
    padding: 13px 12px !important;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 8px;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .prombs-faq-icon {
    flex-basis: 30px;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
  }

  .prombs-faq-icon svg {
    width: 15px;
    min-width: 15px;
    height: 15px;
  }

  .prombs-faq-content {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12.5px;
    line-height: 1.62;
  }

  .prombs-faq-item.active .prombs-faq-content {
    padding-bottom: 15px;
  }

}


/* =========================================
   TOUCH DEVICES
========================================= */

@media (hover: none) and (pointer: coarse) {

  .prombs-faq-item:hover {
    transform: none;
    border-color: #F3F4F6 !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
  }

  .prombs-faq-item.active:hover {
    border-color: #CFE5F2 !important;
    background-color: #FAFDFF !important;
    box-shadow: 0 12px 32px rgba(42, 147, 206, 0.08) !important;
  }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .prombs-faq-item,
  .prombs-faq-question,
  .prombs-faq-icon,
  .prombs-faq-answer,
  .prombs-faq-content {
    transition: none !important;
  }

}

