.page-resources {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-resources__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-resources__section-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #FFD700;
  color: #0a0a0a;
  border: 2px solid #FFD700;
}

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

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

.page-resources__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}

.page-resources__btn-text {
  background-color: transparent;
  color: #FFD700;
  border: none;
  padding: 8px 0;
  text-align: left;
}

.page-resources__btn-text:hover {
  text-decoration: underline;
  color: #e6c200;
}

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  margin-top: 0;
  overflow: hidden;
  min-height: 400px; /* Ensure a minimum height for the hero */
}

.page-resources__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Intro Section */
.page-resources__intro-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

/* Guides Section */
.page-resources__guides-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-resources__guide-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-resources__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources__guide-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-resources__guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources__guide-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__guide-card-title {
  font-size: 22px;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__guide-card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Promotions Section */
.page-resources__promotions-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-resources__promotions-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-resources__promotion-text {
  flex: 1;
}

.page-resources__promotion-text ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources__promotion-text ul li {
  background-color: rgba(255, 215, 0, 0.1);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-left: 3px solid #FFD700;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-resources__promotion-image {
  flex: 1;
  text-align: center;
}

.page-resources__promotion-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Safety Section */
.page-resources__safety-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-resources__safety-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-resources__safety-image {
  flex: 1;
  text-align: center;
}

.page-resources__safety-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.page-resources__safety-text {
  flex: 1;
}

.page-resources__safety-text ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources__safety-text ul li {
  background-color: rgba(139, 0, 0, 0.1);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-left: 3px solid #8B0000;
  border-radius: 5px;
  color: #f0f0f0;
}

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

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #2a2a2a;
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #3a3a3a;
  border-radius: 0 0 5px 5px;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-resources__faq-question:active {
  background: #4a4a4a;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-resources__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #FFD700;
  border-radius: 50%;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #0a0a0a;
  background-color: #FFD700;
  transform: rotate(45deg);
}

/* News Section */
.page-resources__news-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-resources__news-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-resources__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources__news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-resources__news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources__news-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__news-card-title {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__news-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__news-card-title a:hover {
  color: #e6c200;
}

.page-resources__news-card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources__news-date {
  font-size: 14px;
  color: #8B0000;
  margin-top: auto;
}

.page-resources__cta-news {
  text-align: center;
  margin-top: 40px;
}

/* General Image Styles */
.page-resources img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 40px;
  }
  .page-resources__hero-description {
    font-size: 18px;
  }
  .page-resources__section-title {
    font-size: 30px;
  }
  .page-resources__promotions-content,
  .page-resources__safety-content {
    flex-direction: column;
  }
  .page-resources__promotion-image, .page-resources__safety-image {
    order: -1;
  }
  .page-resources__promotion-image img, .page-resources__safety-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-resources__hero-section {
    padding-top: 0 !important;
    min-height: 300px;
  }
  .page-resources__hero-content {
    padding: 20px;
    max-width: 90%;
  }
  .page-resources__hero-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-resources__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* 通用图片与容器 */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__container,
  .page-resources__intro-section,
  .page-resources__guides-section,
  .page-resources__promotions-section,
  .page-resources__safety-section,
  .page-resources__faq-section,
  .page-resources__news-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .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;
    padding-right: 15px;
  }
  .page-resources__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important;
    gap: 10px;
  }

  /* 其他内容模块 */
  .page-resources__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-resources__section-text {
    font-size: 16px;
  }
  .page-resources__guides-grid,
  .page-resources__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources__guide-card-image,
  .page-resources__news-card-image {
    height: 180px;
  }
  .page-resources__guide-card-title,
  .page-resources__news-card-title {
    font-size: 18px;
  }
  .page-resources__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources__faq-answer {
    padding: 0 15px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px !important;
  }
  .page-resources__promotions-content,
  .page-resources__safety-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-resources__promotion-image img, .page-resources__safety-image img {
    max-width: 100%;
    width: 100%;
  }
}