/* 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__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__section:nth-of-type(even) {
  background-color: #fff;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #CC0000;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

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

/* Hero Section */
.page-resources__hero {
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%);
  padding: 100px 0;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #CC0000; /* Red */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary {
  background-color: #CC0000; /* Red */
  color: #fff;
  border: 2px solid #CC0000;
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

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

.page-resources__btn--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__btn--tertiary:hover {
  background-color: #FFD700;
  color: #CC0000;
  transform: translateY(-3px);
}

.page-resources__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 25px;
  background-color: #CC0000; /* Red */
  color: #fff;
}

.page-resources__btn--small:hover {
  background-color: #a30000;
}

/* Flex Row for image and text */
.page-resources__flex-row {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-resources__flex-row--reverse {
  flex-direction: row-reverse;
}

.page-resources__content-block {
  flex: 1;
}

.page-resources__content-block p {
  margin-bottom: 20px;
  color: #444;
}

.page-resources__content-block .page-resources__btn {
  margin-top: 20px;
}

.page-resources__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.page-resources__category-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-top: 5px solid #CC0000;
}

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

.page-resources__category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #CC0000;
  margin-bottom: 15px;
}

.page-resources__category-card p {
  color: #666;
  font-size: 1em;
}

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

.page-resources__article-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
}

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

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

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

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

.page-resources__cta-block {
    margin-top: 60px;
    background-color: #CC0000;
    color: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.page-resources__cta-block p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff;
}

.page-resources__cta-block p a {
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
}

.page-resources__cta-block p a:hover {
    text-decoration: underline;
}

/* Benefits List */
.page-resources__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources__benefits-list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  font-size: 1.05em;
  color: #444;
  border-left: 5px solid #FFD700;
}

.page-resources__benefits-list li strong {
  color: #CC0000;
  margin-right: 8px;
}

/* Final CTA */
.page-resources__cta-final {
  background-color: #222;
  color: #fff;
  padding: 80px 0;
}

.page-resources__cta-final .page-resources__section-title {
  color: #FFD700;
}

.page-resources__cta-final .page-resources__section-description {
  color: #ccc;
  margin-bottom: 50px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__flex-row {
    flex-direction: column;
    text-align: center;
  }

  .page-resources__hero-title {
    font-size: 2.8em;
  }

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

  .page-resources__flex-row--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources__section {
    padding: 40px 0;
  }

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

  .page-resources__section-description {
    font-size: 1em;
  }

  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-resources__cta-group {
    flex-direction: column;
  }

  .page-resources__cta-group .page-resources__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__hero-subtitle {
    font-size: 0.95em;
  }

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

  .page-resources__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-resources__category-card, .page-resources__article-card {
    padding: 20px;
  }

  .page-resources__card-title {
    font-size: 1.3em;
  }

  .page-resources__article-title {
    font-size: 1.1em;
  }

  .page-resources__benefits-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
}