/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text for contrast with dark background */
  background-color: #0F1C2E; /* Slightly lighter than main for body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #1A2B3C, #0F1C2E);
  color: #FFD700; /* Gold for hero text for prominence */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-resources__hero-content {
  max-width: 900px;
}

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

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

.page-resources__hero-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* General Content Section */
.page-resources__content-section {
  padding: 60px 0;
  background-color: #1A2B3C; /* Main color for content sections */
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.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__paragraph {
  font-size: 1.1em;
  color: #E0E0E0;
  text-align: justify;
  margin-bottom: 20px;
}

.page-resources__paragraph a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__benefit-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-resources__benefit-list li {
  background-color: #0F1C2E;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 20px;
  font-size: 1.1em;
  color: #E0E0E0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__benefit-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.page-resources__benefit-list li strong {
  color: #FFD700;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-resources__benefit-list li a {
  color: #FFD700;
  text-decoration: underline;
}

/* Articles Grid */
.page-resources__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__article-card {
  background-color: #0F1C2E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #E0E0E0;
}

.page-resources__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__article-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-resources__article-card h3 {
  padding: 15px 20px 10px;
  font-size: 1.5em;
  color: #FFD700;
}

.page-resources__article-card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-card h3 a:hover {
  color: #FFF;
}

.page-resources__article-summary {
  padding: 0 20px 15px;
  font-size: 1em;
  flex-grow: 1;
}

.page-resources__read-more-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2B3C;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__read-more-button:hover {
  background-color: #e6c200;
  color: #0F1C2E;
}

/* CTA Buttons */
.page-resources__cta-buttons-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
}

.page-resources__cta-button--primary {
  background-color: #FFD700;
  color: #1A2B3C;
  border: 2px solid #FFD700;
}

.page-resources__cta-button--primary:hover {
  background-color: #e6c200;
  color: #0F1C2E;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-resources__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-resources__disclaimer {
  font-size: 0.9em;
  color: #A0A0A0;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #3A4C60;
}

.page-resources__disclaimer a {
  color: #FFD700;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__section-title {
    font-size: 2em;
  }

  .page-resources__benefit-list {
    grid-template-columns: 1fr;
  }

  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__cta-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }

  .page-resources__hero-description {
    font-size: 0.9em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__article-card h3 {
    font-size: 1.3em;
  }

  .page-resources__read-more-button {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }
}