.page-resources {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources__hero-section {
  background: linear-gradient(135deg, #017439, #4d9e74);
  padding: 80px 0;
  color: #FFFFFF;
  text-align: center;
}

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

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color */
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-resources__btn--register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-resources__btn--register:hover {
  background-color: #a30606;
  transform: translateY(-3px);
}

.page-resources__btn--login {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-resources__btn--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-resources__articles-section,
.page-resources__deep-dive-section {
  padding: 60px 0;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 250px;
  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.5em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-resources__article-title a {
  text-decoration: none;
  color: inherit;
}

.page-resources__article-title a:hover {
  text-decoration: underline;
}

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

.page-resources__read-more-btn {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more-btn:hover {
  background-color: #005f2f;
}

.page-resources__content-block {
  margin-bottom: 60px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__content-subtitle {
  font-size: 2em;
  color: #017439;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources__content-block p {
  margin-bottom: 20px;
  color: #444444;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto; /* Ensure aspect ratio is maintained */
}

.page-resources__checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources__checklist li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23017439"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
  font-size: 1.05em;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-resources__btn--learn-more {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-resources__btn--learn-more:hover {
  background-color: #a30606;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__content-subtitle {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions,
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__content-subtitle {
    font-size: 1.5em;
  }
  .page-resources__articles-section,
  .page-resources__deep-dive-section {
    padding: 40px 0;
  }
  .page-resources__article-image {
    height: 200px; /* Ensure images are not too small on mobile */
  }
  .page-resources__content-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
    width: 90%;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__content-subtitle {
    font-size: 1.3em;
  }
  .page-resources__article-content {
    padding: 15px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__article-summary {
    font-size: 0.85em;
  }
  .page-resources__read-more-btn {
    padding: 8px 15px;
  }
  .page-resources__content-block {
    padding: 20px;
  }
  .page-resources__container {
    padding: 0 15px;
  }
}