/* 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__hero-section {
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
  animation: page-resources__bubble 10s infinite alternate;
}

.page-resources__hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: rotate(-30deg);
  animation: page-resources__bubble 12s infinite reverse alternate;
}

@keyframes page-resources__bubble {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.1) translate(20px, -20px) rotate(15deg); opacity: 1; }
  100% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.8; }
}

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

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

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

.page-resources__btn--primary {
  background-color: #FFD700;
  color: #8B0000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources__articles-overview {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #8B0000;
  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__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources__card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-resources__card-title {
  font-size: 1.6em;
  color: #8B0000;
  padding: 20px 20px 10px;
  margin-bottom: 0;
  flex-grow: 1;
}

.page-resources__card-title a {
  text-decoration: none;
  color: inherit;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-resources__card-summary {
  font-size: 1em;
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__btn--secondary {
  background-color: #8B0000;
  color: #FFD700;
  align-self: flex-start;
  margin: 0 20px 20px;
}

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

.page-resources__deep-content {
  padding: 80px 0;
  background-color: #fff;
}

.page-resources__sub-title {
  font-size: 2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
}

.page-resources__inline-link {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

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

.page-resources__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555;
}

.page-resources__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources__list li strong {
  color: #8B0000;
}

.page-resources__cta-banner {
  background: linear-gradient(90deg, #8B0000, #FFD700);
  color: #fff;
  text-align: center;
  padding: 50px 30px;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #eee;
}

.page-resources__btn--cta {
  background-color: #fff;
  color: #8B0000;
  margin: 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-resources__grid {
    grid-template-columns: 1fr;
  }

  .page-resources__cta-title {
    font-size: 2em;
  }

  .page-resources__btn--cta {
    margin: 10px 0;
    display: block;
  }
}

@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__card-title {
    font-size: 1.4em;
  }

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