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

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

/* Header Offset for PC */
.page-resources__hero-section {
  padding-top: var(--header-offset, 120px); /* Default for PC if shared doesn't set body padding */
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Minimum height for hero section */
  padding: 40px 20px;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to allow background gradient to show */
}

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

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

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources__hero-button,
.page-resources__read-more-button,
.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-resources__hero-button:hover,
.page-resources__read-more-button:hover,
.page-resources__cta-button:hover {
  background-color: #e6c200; /* Darker Gold */
  color: #6a0000; /* Darker Red */
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

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

.page-resources__article-card {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  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: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-resources__article-title a {
  color: #8B0000; /* Deep Red */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-resources__read-more-button {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources__deep-content-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-resources__intro-paragraph {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 40px;
  text-align: justify;
}

.page-resources__content-block {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 40px;
}

.page-resources__content-subtitle {
  font-size: 2em;
  color: #8B0000;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources__content-block p {
  margin-bottom: 15px;
  color: #444444;
  text-align: justify;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-resources__cta-section {
  padding: 80px 0;
  background-color: #8B0000; /* Deep Red */
  color: #ffffff;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
}

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

.page-resources__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources__contact-info {
    padding: 20px;
    text-align: center;
    background-color: #333333;
    color: #f0f0f0;
    font-size: 0.9em;
}

.page-resources__copyright {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__article-title {
    font-size: 1.4em;
  }
  .page-resources__content-subtitle {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  /* Header Offset for mobile */
  .page-resources__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed */
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 200px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__read-more-button {
    font-size: 0.8em;
    padding: 8px 15px;
  }
  .page-resources__content-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources__deep-content-section, .page-resources__articles-section, .page-resources__cta-section {
    padding: 50px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
  .page-resources__content-block {
    padding: 20px;
  }
  .page-resources__content-subtitle {
    font-size: 1.5em;
  }
}