.page-resources {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Body background color 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;
  padding: 80px 0;
  text-align: center;
  background-color: #000080; /* Auxiliary color for hero background */
}

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

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.page-resources__hero-title {
  font-size: 3.5rem;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-resources__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.page-resources__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
}

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

.page-resources__hero-button--secondary {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-resources__hero-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.page-resources__articles-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-resources__articles-title {
  font-size: 2.8rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-resources__articles-intro {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

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

.page-resources__article-card {
  background-color: rgba(0, 0, 128, 0.3); /* Semi-transparent dark blue */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

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

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

.page-resources__article-heading {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources__article-link {
  color: #FFD700; /* Gold for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-link:hover {
  color: #ffffff;
}

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

.page-resources__article-button {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #000080;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-resources__cta-section {
  padding: 80px 0;
  background-color: #000080; /* Dark blue background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-resources__cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  color: #ffffff;
}

.page-resources__cta-title {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 18px 35px;
  background-color: #FFD700;
  color: #000080;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources__long-content {
  padding: 80px 0;
  background-color: #1a1a1a;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-resources__long-content h2,
.page-resources__long-content h3 {
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources__long-content h2 {
  font-size: 2.5rem;
  text-align: center;
}

.page-resources__long-content h3 {
  font-size: 2rem;
}

.page-resources__long-content p {
  margin-bottom: 20px;
}

.page-resources__long-content strong {
  color: #FFD700;
}

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

.page-resources__long-content ul li {
  margin-bottom: 10px;
}

.page-resources__long-content ul li strong {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3rem;
  }
  .page-resources__hero-description {
    font-size: 1.2rem;
  }
  .page-resources__articles-title {
    font-size: 2.5rem;
  }
  .page-resources__article-heading {
    font-size: 1.4rem;
  }
  .page-resources__cta-title {
    font-size: 2.5rem;
  }
  .page-resources__long-content h2 {
    font-size: 2.2rem;
  }
  .page-resources__long-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 2.5rem;
  }
  .page-resources__hero-description {
    font-size: 1.1rem;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__articles-section,
  .page-resources__cta-section,
  .page-resources__long-content {
    padding: 60px 0;
  }
  .page-resources__articles-title {
    font-size: 2rem;
  }
  .page-resources__articles-intro {
    font-size: 1rem;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 180px;
  }
  .page-resources__article-card img,
  .page-resources__cta-image,
  .page-resources__hero-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  .page-resources__cta-title {
    font-size: 2rem;
  }
  .page-resources__cta-description {
    font-size: 1.1rem;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  .page-resources__long-content h2 {
    font-size: 1.8rem;
  }
  .page-resources__long-content h3 {
    font-size: 1.5rem;
  }
  .page-resources__long-content p,
  .page-resources__long-content ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2rem;
  }
  .page-resources__hero-description {
    font-size: 0.95rem;
  }
  .page-resources__hero-button {
    width: 90%;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-resources__articles-title {
    font-size: 1.8rem;
  }
  .page-resources__article-heading {
    font-size: 1.2rem;
  }
  .page-resources__article-summary {
    font-size: 0.9rem;
  }
  .page-resources__article-button {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  .page-resources__cta-title {
    font-size: 1.8rem;
  }
  .page-resources__cta-description {
    font-size: 0.95rem;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-resources__long-content h2 {
    font-size: 1.6rem;
  }
  .page-resources__long-content h3 {
    font-size: 1.3rem;
  }
}