/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark background */
}

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

.page-resources__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A192F 0%, #1A304D 100%); /* Dark blue gradient */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) brightness(50%);
}

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

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

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #E6C200;
  border-color: #E6C200;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-resources__intro-section {
  padding: 60px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

.page-resources__intro-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #E0E0E0;
}

.page-resources__articles-grid {
  padding: 60px 0;
  background-color: #1A304D; /* Slightly lighter dark blue background for articles */
}

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

.page-resources__article-card {
  background-color: #0A192F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-resources__article-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for article titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

.page-resources__btn--read-more {
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

.page-resources__btn--read-more:hover {
  background-color: #E6C200;
  color: #0A192F;
}

.page-resources__cta-bottom {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold for CTA title */
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__hero-buttons {
    flex-direction: column;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}