.page-resources {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

.page-resources__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background-color: #f5f5f5;
  gap: 40px;
  text-align: left;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-resources__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-resources__hero-title {
  font-size: 3.2em;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-resources__hero-buttons {
  display: flex;
  gap: 15px;
}

.page-resources__hero-image-wrapper {
  flex: 1;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 20px;
}

.page-resources__section-title--light {
  color: #ffffff;
}

.page-resources__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-resources__section-description--light {
  color: #f0f0f0;
}

.page-resources__content-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
}

.page-resources__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-resources__text-block {
  flex: 1;
}

.page-resources__text-block--light {
  color: #f0f0f0;
}

.page-resources__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources__sub-title--light {
  color: #ffffff;
}

.page-resources__paragraph {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-resources__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-resources__list--light .page-resources__list-item {
  color: #f0f0f0;
}

.page-resources__list-item {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

.page-resources__btn-secondary {
  background-color: #FFFFFF;
  color: #C30808;
  border: 2px solid #C30808;
}

.page-resources__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #a30606;
  border-color: #a30606;
}

.page-resources__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  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;
  color: #f0f0f0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.page-resources__cta-buttons--center {
  justify-content: center;
}

.page-resources__cta-banner {
  background-color: #f5f5f5;
  padding: 80px 0;
}

.page-resources__cta-card {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  gap: 40px;
  text-align: left;
}

.page-resources__cta-content {
  flex: 2;
}

.page-resources__cta-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-resources__cta-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-resources__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    gap: 30px;
  }

  .page-resources__hero-content {
    max-width: 100%;
  }

  .page-resources__hero-title {
    font-size: 2.8em;
  }

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

  .page-resources__hero-image-wrapper {
    max-width: 90%;
  }

  .page-resources__content-grid {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .page-resources__content-grid--reverse {
    flex-direction: column;
  }

  .page-resources__text-block,
  .page-resources__image-block {
    flex: none;
    width: 100%;
  }

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

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

  .page-resources__cta-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 30px;
  }

  .page-resources__cta-content {
    flex: none;
    width: 100%;
  }

  .page-resources__cta-image-wrapper {
    flex: none;
    width: 90%;
  }

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

  .page-resources__cta-description {
    font-size: 1em;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-resources__hero-section {
    padding: 40px 15px;
    padding-top: 0 !important; /* Ensure no double padding if shared.css adds to body */
  }

  .page-resources__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

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

  .page-resources__hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 通用图片与容器 */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources__container,
  .page-resources__section,
  .page-resources__card,
  .page-resources__hero-content,
  .page-resources__hero-image-wrapper,
  .page-resources__text-block,
  .page-resources__image-block,
  .page-resources__cta-content,
  .page-resources__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !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__hero-buttons,
  .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: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important; /* Ensure vertical stacking for buttons */
    overflow-x: hidden !important;
  }

  /* 其他内容模块 */
  .page-resources__section {
    padding: 40px 0 !important;
  }

  .page-resources__section-title {
    font-size: 1.8em !important;
  }

  .page-resources__section-description {
    font-size: 0.95em !important;
  }

  .page-resources__sub-title {
    font-size: 1.4em !important;
  }

  .page-resources__paragraph,
  .page-resources__list-item {
    font-size: 0.9em !important;
  }

  .page-resources__faq-question {
    padding: 15px 20px !important;
  }

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

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

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

  .page-resources__cta-banner {
    padding: 50px 0 !important;
  }

  .page-resources__cta-card {
    padding: 20px !important;
  }

  .page-resources__cta-title {
    font-size: 1.6em !important;
  }

  .page-resources__cta-description {
    font-size: 0.9em !important;
  }
}