.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

/* Hero Section */
.page-resources__hero-section {
  padding-top: 0; /* Assuming shared.css sets body padding-top */
  padding-bottom: 80px;
  text-align: center;
  background-color: #0a0a0a; /* Body background from shared */
  color: #ffffff;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-resources__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Content Sections */
.page-resources__content-section {
  padding: 60px 0;
}

.page-resources__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff; /* Light text for dark background */
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-resources__light-bg .page-resources__section-title {
  color: #26A9E0;
}

.page-resources__dark-bg .page-resources__section-title {
  color: #26A9E0;
}

.page-resources__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-resources__light-bg .page-resources__sub-title {
  color: #26A9E0;
}

.page-resources__dark-bg .page-resources__sub-title {
  color: #26A9E0;
}

.page-resources__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-resources__light-bg .page-resources__text-block {
  color: #333333;
}

.page-resources__dark-bg .page-resources__text-block {
  color: #ffffff;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources__list-item {
  font-size: 1.05em;
  margin-bottom: 10px;
}

.page-resources__light-bg .page-resources__list-item {
  color: #333333;
}

.page-resources__dark-bg .page-resources__list-item {
  color: #ffffff;
}

.page-resources__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-resources__text-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources__text-link:hover {
  text-decoration: underline;
}

.page-resources__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #eaf6fc;
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: #dbeaf4;
}

.page-resources__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-resources__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-resources__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* CTA Section */
.page-resources__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }

  .page-resources__hero-description {
    font-size: 1.2em;
  }

  .page-resources__section-title {
    font-size: 2.2em;
  }

  .page-resources__sub-title {
    font-size: 1.6em;
  }

  .page-resources__faq-title {
    font-size: 1.1em;
  }

  .page-resources__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-resources__hero-section {
    padding-top: 40px !important; /* Adjust if shared.css doesn't set body padding-top */
    padding-bottom: 50px !important;
  }

  .page-resources__hero-title {
    font-size: 2.2em !important;
  }

  .page-resources__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  .page-resources__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 (Not explicitly in this page, but keeping the rule for completeness) */
  /* If there were product grid, it would be here. This page uses general content images. */
  .page-resources__products-section .page-resources__products-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* 通用图片与容器 */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources__image-wrapper {
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-resources__content-section,
  .page-resources__faq-section,
  .page-resources__cta-section {
    padding: 40px 0 !important;
  }

  .page-resources__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-resources__sub-title {
    font-size: 1.4em !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-resources__text-block,
  .page-resources__list,
  .page-resources__list-item {
    font-size: 1em !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    margin-left: 25px !important;
  }

  .page-resources__list {
    margin-left: 40px !important;
  }

  /* 按钮与按钮容器 */
  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources a[class*="button"],
  .page-resources 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 !important;
    padding-right: 15px !important;
  }

  .page-resources__cta-buttons,
  .page-resources__button-group,
  .page-resources__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important;
  }

  /* FAQ specific styles for mobile */
  .page-resources__faq-question {
    padding: 15px 20px !important;
  }

  .page-resources__faq-title {
    font-size: 1em !important;
  }

  .page-resources__faq-answer {
    padding: 0 20px !important;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 10px 20px !important;
  }

  /* CTA Section */
  .page-resources__cta-title {
    font-size: 2em !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-resources__cta-description {
    font-size: 1em !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
}