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

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #007bff, #4da3ff); /* Primary blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

.page-resources__btn--primary {
  background-color: #ffc107; /* Auxiliary gold */
  color: #333333;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-resources__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.page-resources__btn--secondary {
  background-color: #0056b3; /* Darker blue from primary */
  color: #ffffff;
  border: 2px solid #0056b3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-resources__btn--secondary:hover {
  background-color: #003f80;
  border-color: #003f80;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.page-resources__btn--link {
  background: none;
  color: #007bff;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.page-resources__btn--link:hover {
  color: #0056b3;
  border-bottom-color: #007bff;
  transform: none;
  box-shadow: none;
}

.page-resources__intro-section, 
.page-resources__articles-section, 
.page-resources__guides-section, 
.page-resources__news-updates-section, 
.page-resources__promotions-callout-section, 
.page-resources__cta-footer-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.page-resources__intro-section {
  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.page-resources__intro-title, 
.page-resources__articles-title, 
.page-resources__guides-title, 
.page-resources__news-updates-title, 
.page-resources__promotions-callout-title, 
.page-resources__cta-footer-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources__intro-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources__intro-content {
  flex: 1;
  font-size: 1.1em;
}

.page-resources__intro-content p {
  margin-bottom: 15px;
}

.page-resources__intro-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

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

.page-resources__article-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  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 20px rgba(0, 0, 0, 0.12);
}

.page-resources__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #007bff;
}

.page-resources__article-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #0056b3;
}

.page-resources__article-category {
  font-size: 0.9em;
  color: #6c757d;
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

.page-resources__more-articles {
  text-align: center;
  margin-top: 50px;
}

.page-resources__guides-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources__guides-text {
  flex: 1;
  font-size: 1.1em;
}

.page-resources__guides-text p {
  margin-bottom: 15px;
}

.page-resources__guides-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-resources__news-updates-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources__news-updates-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-resources__news-updates-content {
  flex: 1;
  font-size: 1.1em;
}

.page-resources__news-updates-content p {
  margin-bottom: 15px;
}

.page-resources__promotions-callout-section {
  background-color: #fff3cd; /* Light yellow background from auxiliary color */
  color: #856404; /* Dark text for light background */
  text-align: center;
  border: 1px solid #ffeeba;
  border-radius: 10px;
  padding: 50px;
}

.page-resources__promotions-callout-title {
  font-size: 2.5em;
  color: #856404;
  margin-bottom: 25px;
}

.page-resources__promotions-callout-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-footer-section {
  background-color: #007bff; /* Primary blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
}

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

.page-resources__cta-footer-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__intro-title,
  .page-resources__articles-title,
  .page-resources__guides-title,
  .page-resources__news-updates-title,
  .page-resources__promotions-callout-title,
  .page-resources__cta-footer-title {
    font-size: 2em;
  }
  .page-resources__intro-grid,
  .page-resources__guides-content,
  .page-resources__news-updates-grid {
    flex-direction: column;
  }
  .page-resources__intro-image-wrapper,
  .page-resources__guides-image-wrapper,
  .page-resources__news-updates-image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section,
  .page-resources__intro-section,
  .page-resources__articles-section,
  .page-resources__guides-section,
  .page-resources__news-updates-section,
  .page-resources__promotions-callout-section,
  .page-resources__cta-footer-section {
    padding: 40px 0;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions,
  .page-resources__cta-footer-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-resources__intro-title,
  .page-resources__articles-title,
  .page-resources__guides-title,
  .page-resources__news-updates-title,
  .page-resources__promotions-callout-title,
  .page-resources__cta-footer-title {
    font-size: 1.8em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__promotions-callout-section {
    padding: 30px 20px;
  }
}