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

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1A2F4B 100%);
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main titles */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-resources__button {
  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;
  text-align: center;
}

.page-resources__button--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

.page-resources__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

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

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

.page-resources__section-subtitle {
  font-size: 1.2em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 50px;
}

.page-resources__about {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-resources__about-text {
  flex: 1;
}

.page-resources__about-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #E0E0E0;
}

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

.page-resources__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__articles {
  padding: 80px 0;
  background-color: #1A2F4B;
}

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

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

.page-resources__article-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources__article-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  font-weight: bold;
}

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

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

.page-resources__article-description {
  font-size: 1em;
  color: #B0B0B0;
  padding: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources__button--link {
  display: block;
  width: fit-content;
  margin: 0 20px 20px;
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__button--link:hover {
  background-color: #E0B000;
  color: #0A192F;
}

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

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-resources__cta-buttons .page-resources__button {
  margin: 0 15px;
}

.page-resources__button--tertiary {
  background-color: #28a745; /* A distinct color for download */
  color: #FFFFFF;
  border: 2px solid #28a745;
}

.page-resources__button--tertiary:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__about-content {
    flex-direction: column;
  }
  .page-resources__about-text, .page-resources__about-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-resources__article-list {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__cta-buttons .page-resources__button {
    margin: 10px 0;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__button--primary, .page-resources__button--secondary, .page-resources__button--tertiary {
    width: 90%;
  }
}