/* style/resources.css */

.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-resources .highlight {
  color: #E0B14A;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A2463, #3A5080);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources__btn--primary {
  background-color: #E0B14A;
  color: #0A2463;
}

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

.page-resources__btn--secondary {
  background-color: #0A2463;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources__btn--secondary:hover {
  background-color: #1a3a7c;
  transform: translateY(-1px);
}

.page-resources__btn--center {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 300px;
}

.page-resources__introduction, .page-resources__featured-articles, .page-resources__deep-dive {
  padding: 60px 0;
}

.page-resources__introduction {
  background-color: #fff;
}

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

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

.page-resources__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
  text-align: justify;
}

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

.page-resources__article-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-resources__article-title a {
  color: #0A2463;
  text-decoration: none;
}

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

.page-resources__article-category {
  display: inline-block;
  background-color: #E0B14A;
  color: #0A2463;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.85em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__article-summary {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-resources__deep-dive {
  background-color: #f0f4f8;
}

.page-resources__subsection-title {
  font-size: 2em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
  border-bottom: 2px solid #E0B14A;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__subsection-title {
    font-size: 1.7em;
  }
  .page-resources__text-content {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources__introduction, .page-resources__featured-articles, .page-resources__deep-dive {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-description {
    font-size: 0.95em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 180px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__article-summary {
    font-size: 0.9em;
  }
  .page-resources__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero {
    padding: 40px 0;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 0.9em;
  }
  .page-resources__btn--center {
    max-width: 250px;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__subsection-title {
    font-size: 1.3em;
  }
}