/*!
Theme Name: kjacewicz
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kjacewicz
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kjacewicz is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Import modular stylesheets */
@import "assets/css/variables.css";
@import "assets/css/base.css";
@import "assets/css/layout.css";
@import "assets/css/components.css";
@import "assets/css/utilities.css";
@import "assets/css/forms.css";
@import "assets/css/focus.css";

/* FAQ Section Styles */
.insurance-faq-section {
  padding: 3.75rem 0;
  max-width: 75rem;
  margin: 0 auto;
}

.insurance-faq-section h2 {
  text-align: center;
  color: var(--primary-color);
}

.faq-container {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.25rem;
  border: 0.0625rem solid var(--primary-color);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 3.125rem 1.25rem 1.25rem;
  margin: 0;
  background: var(--primary-color);
  cursor: pointer;
  position: relative;
  font-size: 1.1em;
  color: #fff;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  border: none;
  font-family: inherit;
  font-weight: inherit;
}

.faq-question:hover {
  background: var(--primary-700);
}

.faq-question:focus-visible {
  outline: 0.1875rem solid var(--accent-color);
  outline-offset: -0.1875rem;
}

.faq-question[aria-expanded="true"] {
  background: var(--primary-color);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-55%);
  font-size: 1.5em;
  width: 1.25rem;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 1.25rem;
  border-top: 0.0625rem solid var(--primary-color);
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* High contrast mode support */
@media (forced-colors: active) {
  .faq-item {
    border: 0.125rem solid CanvasText;
  }

  .faq-question,
  .faq-answer {
    border: 0.0625rem solid CanvasText;
  }
}

@media (max-width: 48rem) {
  .insurance-faq-section {
    padding: 2.5rem 1.25rem;
  }

  .faq-question {
    font-size: 1em;
    padding: 1rem;
  }

  .faq-answer {
    padding: 1rem;
  }
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .faq-question,
  .faq-question::after {
    transition: none;
  }
}
