/* 
Theme Name: Hello Elementor Child
Theme URI: harperdigital.co.nz
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Harper Digital Team
Author URI: 
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */
.faq-item {
  border-bottom: 1px solid #45A5F44D;
  margin-bottom: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
  position: relative;
}

.faq-item::after {
  background: url("./img/faq-ico.svg") no-repeat center/contain;
  content: "";
  display: inline-block;
  height: 18px;
  position: absolute;
  right: 0;
  top: 10px;
  transition: transform 0.3s ease;
  width: 14px;
}

.faq-item.active::after {
  transform: rotate(180deg);
}

.faq-title {
  color: #172F5D;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-title:hover {
  color: #45A5F4;
}

.faq-content {
  font-size: 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.faq-item.active .faq-content {
  opacity: 1;
}