.page-expert-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with shared body background */
}

.page-expert-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-expert-analysis__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding for hero content */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Brand color as hero background */
  overflow: hidden;
}

.page-expert-analysis__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-expert-analysis__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-expert-analysis__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-expert-analysis__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-expert-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-expert-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-expert-analysis__section {
  padding: 60px 0;
  text-align: center;
}

.page-expert-analysis__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-expert-analysis__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-expert-analysis__intro-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__intro-section .page-expert-analysis__paragraph {
  color: #f0f0f0;
  font-size: 1.1em;
  max-width: 900px;
  margin: 20px auto;
}

.page-expert-analysis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-analysis__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
}

.page-expert-analysis__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-expert-analysis__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-expert-analysis__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-expert-analysis__methods-tools-section {
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-expert-analysis__methods-tools-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__methods-tools-section .page-expert-analysis__paragraph {
  font-size: 1.1em;
  max-width: 900px;
  margin: 20px auto;
}

.page-expert-analysis__strategy-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-expert-analysis__strategy-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__content-grid {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
}

.page-expert-analysis__text-block {
  flex: 1;
}

.page-expert-analysis__text-block .page-expert-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-expert-analysis__image-block {
  flex: 1;
  text-align: center;
}

.page-expert-analysis__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-expert-analysis__benefits-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-expert-analysis__benefits-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-expert-analysis__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #017439;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-expert-analysis__benefit-item strong {
  color: #017439;
}

.page-expert-analysis__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-expert-analysis__cta-buttons--center {
  justify-content: center;
}

.page-expert-analysis__faq-section {
  background-color: #017439;
  color: #ffffff;
}

.page-expert-analysis__faq-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-expert-analysis__faq-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-expert-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-expert-analysis__faq-question::-webkit-details-marker {
  display: none;
}

.page-expert-analysis__faq-question::marker {
  display: none;
}

.page-expert-analysis__faq-item summary {
  list-style: none;
}

.page-expert-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-expert-analysis__faq-item[open] .page-expert-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-expert-analysis__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-expert-analysis__faq-answer p {
  margin-bottom: 10px;
}

.page-expert-analysis__cta-final-section {
  background-color: #0a0a0a;
  padding: 80px 0;
  color: #ffffff;
}

.page-expert-analysis__cta-final-section .page-expert-analysis__section-title {
  color: #ffffff;
}

.page-expert-analysis__cta-final-section .page-expert-analysis__paragraph {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-expert-analysis__btn-primary,
.page-expert-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-analysis__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-expert-analysis__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-expert-analysis__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-expert-analysis__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Custom colors for register/login buttons */
.page-expert-analysis__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-expert-analysis__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-expert-analysis__btn-download {
  background-color: transparent;
  color: #C30808;
  border-color: #C30808;
}

.page-expert-analysis__btn-download:hover {
  background-color: #C30808;
  color: #FFFF00;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-expert-analysis__hero-title {
    font-size: 2.5em;
  }
  .page-expert-analysis__hero-description {
    font-size: 1em;
  }
  .page-expert-analysis__section-title {
    font-size: 2em;
  }
  .page-expert-analysis__content-grid {
    flex-direction: column;
  }
  .page-expert-analysis__image-block {
    margin-top: 30px;
  }
  .page-expert-analysis__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-expert-analysis__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-expert-analysis__hero-title {
    font-size: 2em;
  }
  .page-expert-analysis__hero-description {
    font-size: 0.95em;
  }
  .page-expert-analysis__section {
    padding: 40px 0;
  }
  .page-expert-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-expert-analysis__paragraph,
  .page-expert-analysis__card-text,
  .page-expert-analysis__benefit-item,
  .page-expert-analysis__faq-answer {
    font-size: 1em;
  }
  .page-expert-analysis__card {
    padding: 20px;
  }
  .page-expert-analysis__card-title {
    font-size: 1.3em;
  }
  .page-expert-analysis__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-expert-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-expert-analysis__btn-primary,
  .page-expert-analysis__btn-secondary,
  .page-expert-analysis a[class*="button"],
  .page-expert-analysis a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-expert-analysis__cta-buttons,
  .page-expert-analysis__button-group,
  .page-expert-analysis__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-expert-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-expert-analysis__section,
  .page-expert-analysis__card,
  .page-expert-analysis__container,
  .page-expert-analysis__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-expert-analysis__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-expert-analysis__hero-title {
    font-size: 1.8em;
  }
  .page-expert-analysis__section-title {
    font-size: 1.5em;
  }
  .page-expert-analysis__btn-primary,
  .page-expert-analysis__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-expert-analysis__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-expert-analysis__faq-answer {
    font-size: 0.95em;
    padding: 10px 15px 15px;
  }
}