/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-resources__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__section:nth-child(odd) {
  background-color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #1A2E47;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-title .highlight {
  color: #FFD700;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #5f6d7e;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.05em;
}

.page-resources__btn--primary {
  background-color: #FFD700;
  color: #1A2E47;
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #1A2E47;
}

.page-resources__btn--secondary {
  background-color: #1A2E47;
  color: #FFD700;
  border: 2px solid #1A2E47;
}

.page-resources__btn--secondary:hover {
  background-color: #0d1a29;
  border-color: #0d1a29;
  color: #FFD700;
}

.page-resources__btn--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__btn--link:hover {
  background-color: #FFD700;
  color: #1A2E47;
}

/* Hero Section */
.page-resources__hero {
  background: linear-gradient(135deg, #1A2E47 0%, #3a5b82 100%);
  color: #FFFFFF;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: auto;
  opacity: 0.2;
  z-index: 0;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources__hero > .page-resources__container {
  position: relative;
  z-index: 1;
}

/* Latest News Section */
.page-resources__latest-news {
  background-color: #f0f2f5;
}

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

.page-resources__news-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
}

.page-resources__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-resources__news-title {
  font-size: 1.5em;
  color: #1A2E47;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-resources__news-excerpt {
  font-size: 0.95em;
  color: #5f6d7e;
  padding: 0 20px 15px;
}

.page-resources__news-item .page-resources__btn {
  margin-left: 20px;
}

.page-resources__cta-text {
  margin-top: 40px;
  font-size: 1.1em;
  color: #1A2E47;
}

.page-resources__cta-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__cta-link:hover {
  color: #e6c200;
}

/* Guides & Strategies Section */
.page-resources__guides-strategies {
  background-color: #FFFFFF;
}

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

.page-resources__strategy-item {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
}

.page-resources__strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-resources__strategy-title {
  font-size: 1.5em;
  color: #1A2E47;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-resources__strategy-excerpt {
  font-size: 0.95em;
  color: #5f6d7e;
  padding: 0 20px 15px;
}

.page-resources__strategy-item .page-resources__btn {
  margin-left: 20px;
}

/* Platform Reviews Section */
.page-resources__platform-reviews {
  background-color: #f0f2f5;
}

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

.page-resources__review-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
}

.page-resources__review-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-resources__review-title {
  font-size: 1.5em;
  color: #1A2E47;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-resources__review-excerpt {
  font-size: 0.95em;
  color: #5f6d7e;
  padding: 0 20px 15px;
}

.page-resources__review-item .page-resources__btn {
  margin-left: 20px;
}

/* Detailed Library Section */
.page-resources__detailed-library {
  background-color: #FFFFFF;
}

.page-resources__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources__detail-item {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources__detail-title {
  font-size: 1.4em;
  color: #1A2E47;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__detail-title a {
  color: #1A2E47;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__detail-title a:hover {
  color: #FFD700;
}

.page-resources__detail-description {
  font-size: 0.95em;
  color: #5f6d7e;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources__faq {
  background-color: #f0f2f5;
  padding-bottom: 80px;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #1A2E47;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #5f6d7e;
}

.page-resources__faq-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__faq-link:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-resources__cta-final {
  background-color: #1A2E47;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-resources__cta-final .page-resources__section-title {
  color: #FFFFFF;
}

.page-resources__cta-final .page-resources__section-description {
  color: #e0e0e0;
}

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

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

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

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0 50px;
    min-height: 400px;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-resources__section {
    padding: 40px 0;
  }

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

  .page-resources__news-grid,
  .page-resources__strategy-grid,
  .page-resources__review-grid,
  .page-resources__detail-list {
    grid-template-columns: 1fr;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources__news-item .page-resources__btn,
  .page-resources__strategy-item .page-resources__btn,
  .page-resources__review-item .page-resources__btn {
    margin-left: 20px;
  }
}

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

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

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

  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
    width: 90%;
  }

  .page-resources__news-title,
  .page-resources__strategy-title,
  .page-resources__review-title,
  .page-resources__detail-title,
  .page-resources__faq-question {
    font-size: 1.2em;
  }

  .page-resources__news-excerpt,
  .page-resources__strategy-excerpt,
  .page-resources__review-excerpt,
  .page-resources__detail-description,
  .page-resources__faq-answer {
    font-size: 0.9em;
  }
}