.page-resources {
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-resources__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #0A2342; /* Primary dark blue for hero background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  color: #E5B80B; /* Accent gold for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__hero-button,
.page-resources__overview-button,
.page-resources__why-choose-us-button,
.page-resources__cta-button {
  display: inline-block;
  background-color: #E5B80B; /* Accent gold for buttons */
  color: #0A2342; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__hero-button:hover,
.page-resources__overview-button:hover,
.page-resources__why-choose-us-button:hover,
.page-resources__cta-button:hover {
  background-color: #f0c83a; /* Slightly lighter gold on hover */
  transform: translateY(-2px);
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-resources__overview-section {
  background-color: #0A2342; /* Primary dark blue */
  padding: 80px 20px;
  text-align: center;
}

.page-resources__overview-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources__overview-title {
  font-size: 2.5em;
  color: #E5B80B;
  margin-bottom: 25px;
}

.page-resources__overview-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-resources__articles-section {
  background-color: #051426; /* Body background color for contrast */
  padding: 80px 20px;
}

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

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

.page-resources__articles-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__article-card {
  background-color: #0A2342; /* Dark blue for card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

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

.page-resources__article-heading a {
  color: #E5B80B; /* Accent gold for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-heading a:hover {
  color: #f0c83a;
}

.page-resources__article-category {
  display: block;
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 10px;
}

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

.page-resources__article-button {
  display: inline-block;
  background-color: #E5B80B; /* Accent gold for buttons */
  color: #0A2342; /* Dark blue text on gold button */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources__article-button:hover {
  background-color: #f0c83a;
  transform: translateY(-2px);
}

.page-resources__why-choose-us-section {
  background-color: #0A2342; /* Primary dark blue */
  padding: 80px 20px;
}

.page-resources__why-choose-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources__why-choose-us-content {
  flex: 1;
}

.page-resources__why-choose-us-title {
  font-size: 2.5em;
  color: #E5B80B;
  margin-bottom: 25px;
}

.page-resources__why-choose-us-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources__why-choose-us-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-resources__why-choose-us-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-resources__why-choose-us-item::before {
  content: '✓';
  color: #E5B80B; /* Accent gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.page-resources__why-choose-us-image {
  flex: 0 0 450px; /* Fixed width for image on desktop */
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-resources__cta-section {
  background-color: #051426; /* Body background color */
  padding: 80px 20px;
  text-align: center;
}

.page-resources__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__articles-title {
    font-size: 2.4em;
  }
  .page-resources__why-choose-us-title,
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__hero-button,
  .page-resources__overview-button,
  .page-resources__why-choose-us-button,
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__overview-title {
    font-size: 2em;
  }
  .page-resources__articles-title {
    font-size: 2em;
  }
  .page-resources__article-heading {
    font-size: 1.4em;
  }
  .page-resources__article-image,
  .page-resources__why-choose-us-image {
    height: auto; /* Allow height to adjust */
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }
  .page-resources__why-choose-us-container {
    flex-direction: column;
  }
  .page-resources__why-choose-us-image {
    flex: none;
    margin-top: 40px;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }

  /* IMPORTANT: Content area images must be responsive and not overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }
  .page-resources__article-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources__why-choose-us-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__overview-title,
  .page-resources__articles-title,
  .page-resources__why-choose-us-title,
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__hero-section,
  .page-resources__overview-section,
  .page-resources__articles-section,
  .page-resources__why-choose-us-section,
  .page-resources__cta-section {
    padding: 40px 15px;
  }
  .page-resources__article-heading {
    font-size: 1.2em;
  }
  .page-resources__article-summary,
  .page-resources__why-choose-us-item {
    font-size: 0.95em;
  }
}