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

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

.page-resources__hero-section {
  background-color: #1A2B4C; /* Main color */
  color: #FFFFFF; /* White text for contrast */
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background-image: url('[GALLERY:bg:win55,hero_background,abstract_pattern]');
  background-size: cover;
  background-position: center;
}

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

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #1A2B4C; /* Main color for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Accent color */
  border-radius: 2px;
}

.page-resources__intro-content {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-resources__keyword {
  font-weight: bold;
  color: #1A2B4C;
}

.page-resources__inline-link {
  color: #1A2B4C;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources__inline-link:hover {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

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

.page-resources__articles-list {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-resources__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px 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-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources__article-card h3 {
  font-size: 1.5em;
  color: #1A2B4C; /* Main color */
  margin: 20px 20px 10px 20px;
}

.page-resources__article-card h3 a {
  color: #1A2B4C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-card h3 a:hover {
  color: #FFD700; /* Accent color */
}

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Accent color */
  color: #1A2B4C; /* Main color for text */
  border: 2px solid #FFD700;
  margin-top: 20px;
}

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

.page-resources__btn--secondary {
  background-color: #1A2B4C; /* Main color */
  color: #FFD700; /* Accent color for text */
  border: 2px solid #1A2B4C;
  margin: 0 20px 20px 20px;
}

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

.page-resources__btn--outline {
  background-color: transparent;
  color: #1A2B4C; /* Main color */
  border: 2px solid #1A2B4C;
}

.page-resources__btn--outline:hover {
  background-color: #1A2B4C;
  color: #FFD700; /* Accent color */
  transform: translateY(-2px);
}

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
    min-height: 300px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__intro-content, .page-resources__articles-list, .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__article-card {
    margin-bottom: 20px;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-resources__btn {
    width: 80%;
    max-width: 300px;
  }
}

@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: 0.9em;
  }
  .page-resources__article-card h3 {
    font-size: 1.3em;
  }
  .page-resources__article-description {
    font-size: 0.9em;
  }
}