/* style/resources-review-standards-analysis.css */

/* General page styling */
.page-resources-review-standards-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light sections */
  background-color: #f1f3f5; /* Light background for main content sections to contrast with dark body */
}

/* Container for main content sections */
.page-resources-review-standards-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Padding for main content to clear fixed header */
.page-resources-review-standards-analysis__main-content-padding {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

/* Section titles */
.page-resources-review-standards-analysis__main-title {
  font-size: 38px;
  font-weight: bold;
  color: #007bff; /* Primary brand color for main title */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-resources-review-standards-analysis__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

/* Introduction section */
.page-resources-review-standards-analysis__intro-section {
  padding: 40px 0;
  background-color: #ffffff; /* White background for intro for strong contrast */
}

.page-resources-review-standards-analysis__intro-text {
  font-size: 17px;
  margin-bottom: 20px;
  color: #333333;
}

/* Criteria and Importance sections */
.page-resources-review-standards-analysis__criteria-section,
.page-resources-review-standards-analysis__importance-section,
.page-resources-review-standards-analysis__expert-advice-section,
.page-resources-review-standards-analysis__faq-section {
  padding: 40px 0;
  background-color: #f1f3f5; /* Light grey background */
}

/* Content images */
.page-resources-review-standards-analysis__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Card styling for criteria */
.page-resources-review-standards-analysis__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  color: #333333; /* Dark text on white card */
}

.page-resources-review-standards-analysis__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #007bff; /* Primary brand color for card titles */
  margin-bottom: 15px;
}

.page-resources-review-standards-analysis__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}

/* Text blocks */
.page-resources-review-standards-analysis__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333333;
}

/* Advice list */
.page-resources-review-standards-analysis__advice-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-review-standards-analysis__advice-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333333;
}

/* CTA Buttons */
.page-resources-review-standards-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
}

.page-resources-review-standards-analysis__btn-primary {
  background: #007bff; /* Primary color */
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-resources-review-standards-analysis__btn-primary:hover {
  background: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  transform: translateY(-2px);
}

.page-resources-review-standards-analysis__btn-secondary {
  background: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
}

.page-resources-review-standards-analysis__btn-secondary:hover {
  background: #e9ecef;
  color: #0056b3;
  border-color: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
  transform: translateY(-2px);
}

.page-resources-review-standards-analysis__cta-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section Styling */
.page-resources-review-standards-analysis__faq-section {
  padding-bottom: 60px;
}

.page-resources-review-standards-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-review-standards-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-review-standards-analysis__faq-item.active .page-resources-review-standards-analysis__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px 15px !important; /* Add padding when active */
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text on light background */
}

.page-resources-review-standards-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333; /* Dark text on white background */
}

.page-resources-review-standards-analysis__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-review-standards-analysis__faq-question:active {
  background: #eeeeee;
}

.page-resources-review-standards-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allow click on parent div */
  color: #333333; /* Dark text */
}

.page-resources-review-standards-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Allow click on parent div */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-review-standards-analysis__faq-item.active .page-resources-review-standards-analysis__faq-toggle {
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-review-standards-analysis__main-title {
    font-size: 32px;
  }
  .page-resources-review-standards-analysis__section-title {
    font-size: 28px;
  }
  .page-resources-review-standards-analysis__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-resources-review-standards-analysis__main-content-padding {
    padding-top: 100px !important; /* Mobile: Adjust for mobile header height */
  }

  .page-resources-review-standards-analysis__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-resources-review-standards-analysis__section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-resources-review-standards-analysis__intro-text,
  .page-resources-review-standards-analysis__card-text,
  .page-resources-review-standards-analysis__text-block,
  .page-resources-review-standards-analysis__advice-list li {
    font-size: 15px;
  }

  .page-resources-review-standards-analysis__card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-resources-review-standards-analysis__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-resources-review-standards-analysis__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  /* Mobile image responsive */
  .page-resources-review-standards-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-review-standards-analysis__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-review-standards-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-review-standards-analysis__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-review-standards-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-review-standards-analysis__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-review-standards-analysis__faq-item.active .page-resources-review-standards-analysis__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure images maintain aspect ratio and fit container */
.page-resources-review-standards-analysis img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}