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

.page-resources__hero-section {
  background-color: #2C3E50; /* Dark blue auxiliary color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-resources__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.25em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-resources__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color */
  color: #2C3E50; /* Dark blue text */
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-bottom: 40px;
}

.page-resources__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1000px;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__articles-section,
.page-resources__cta-section,
.page-resources__faq-section,
.page-resources__trust-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-resources__articles-section {
  background-color: #f9f9f9;
}

.page-resources__articles-container,
.page-resources__cta-container,
.page-resources__faq-container,
.page-resources__trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources__articles-heading,
.page-resources__cta-title,
.page-resources__faq-heading,
.page-resources__trust-heading {
  font-size: 2.8em;
  color: #2C3E50; /* Dark blue auxiliary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-resources__articles-intro,
.page-resources__cta-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 500px; /* Ensure cards have a minimum height for consistent look */
}

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

.page-resources__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #2C3E50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__card-title a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources__card-summary {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #2C3E50;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__card-button:hover {
  background-color: #e6c200;
}

.page-resources__cta-section {
  background-color: #FFD700; /* Gold main color */
  color: #2C3E50;
  text-align: center;
  padding: 100px 20px;
}

.page-resources__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  color: #2C3E50;
}

.page-resources__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-resources__cta-button {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.25em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.page-resources__cta-button--primary {
  background-color: #2C3E50; /* Dark blue */
  color: #FFD700; /* Gold */
}

.page-resources__cta-button--primary:hover {
  background-color: #1a2533;
  transform: translateY(-3px);
}

.page-resources__cta-button--secondary {
  background-color: transparent;
  color: #2C3E50; /* Dark blue */
  border-color: #2C3E50;
}

.page-resources__cta-button--secondary:hover {
  background-color: #2C3E50;
  color: #FFD700;
  transform: translateY(-3px);
}

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

.page-resources__faq-heading {
  margin-bottom: 60px;
}

.page-resources__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources__faq-question {
  font-size: 1.4em;
  color: #2C3E50;
  margin-bottom: 15px;
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-resources__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__faq-answer a:hover {
  text-decoration: underline;
}

.page-resources__trust-section {
  background-color: #2C3E50;
  color: #ffffff;
  padding-bottom: 100px;
}

.page-resources__trust-heading {
  color: #FFD700;
  margin-bottom: 60px;
}

.page-resources__trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources__trust-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__trust-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources__trust-subtitle {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__trust-description {
  font-size: 1em;
  color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__articles-heading,
  .page-resources__cta-title,
  .page-resources__faq-heading,
  .page-resources__trust-heading {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__articles-heading,
  .page-resources__cta-title,
  .page-resources__faq-heading,
  .page-resources__trust-heading {
    font-size: 2em;
  }
  .page-resources__articles-intro,
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__card-image {
    height: 200px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-resources__trust-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content image overflow prevention */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
  .page-resources {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources__articles-heading,
  .page-resources__cta-title,
  .page-resources__faq-heading,
  .page-resources__trust-heading {
    font-size: 1.8em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-resources__faq-question {
    font-size: 1.2em;
  }
  .page-resources__trust-subtitle {
    font-size: 1.3em;
  }
}