.page-resources {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Subtle background effect */
}

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(26, 32, 44, 0.7); /* Auxiliary color with transparency */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-title {
  font-size: 3.2em;
  color: #D4AF37; /* Primary gold 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.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-resources__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-resources__button--primary {
  background-color: #D4AF37; /* Primary gold color */
  color: #1A202C; /* Auxiliary dark color */
  border: 2px solid #D4AF37;
}

.page-resources__button--primary:hover {
  background-color: #e1c773;
  transform: translateY(-3px);
}

.page-resources__button--secondary {
  background-color: transparent;
  color: #D4AF37; /* Primary gold color */
  border: 2px solid #D4AF37;
}

.page-resources__button--secondary:hover {
  background-color: #D4AF37;
  color: #1A202C;
  transform: translateY(-3px);
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #D4AF37;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

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

.page-resources__article-card {
  background-color: #1A202C; /* Auxiliary dark color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
}

.page-resources__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-resources__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources__article-title a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #e1c773;
}

.page-resources__article-summary {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__button--link {
  color: #D4AF37;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__button--link:hover {
  border-color: #D4AF37;
}

.page-resources__cta-banner {
  background: linear-gradient(90deg, #D4AF37, #e1c773);
  color: #1A202C;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-resources__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333;
}

.page-resources__cta-banner .page-resources__button--primary {
  background-color: #1A202C;
  color: #D4AF37;
  border: 2px solid #1A202C;
}

.page-resources__cta-banner .page-resources__button--primary:hover {
  background-color: #333c4d;
  color: #e1c773;
}

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

.page-resources__info-block {
  background-color: rgba(26, 32, 44, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-resources__info-block:hover {
  background-color: rgba(26, 32, 44, 1);
}

.page-resources__info-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #D4AF37;
}

.page-resources__info-title {
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-resources__info-title a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__info-title a:hover {
  color: #e1c773;
}

.page-resources__info-text {
  font-size: 0.9em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-resources__faq-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

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

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

.page-resources__faq-question {
  font-size: 1.2em;
  color: #D4AF37;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-resources__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content */
  padding-top: 15px;
}

.page-resources__contact-cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: rgba(212, 175, 55, 0.1); /* Light gold tint */
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 80px;
}

.page-resources__contact-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__hero-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-resources__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__article-image,
  .page-resources__info-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-resources__cta-banner {
    padding: 40px 20px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__info-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__faq-item {
    padding: 20px;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
  }
  .page-resources__contact-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__container img {
    max-width: 100%;
    height: auto; /* Ensure content area images are responsive and do not overflow */
  }
  /* Enforce min-width for all content images */
  .page-resources__articles-section img, 
  .page-resources__additional-info-section img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-content {
    padding: 20px;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__faq-question {
    font-size: 1em;
  }
}