.page-resources {
  color: #ffffff; /* Dark body background #1a1a2e, so light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #1a1a2e; /* Inherited from shared, but for safety */
}

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

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #FFD700;
  margin-bottom: 50px;
  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: #8B0000;
  border-radius: 2px;
}

.page-resources__section-description {
  text-align: center;
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a1a 100%);
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-bottom: 40px;
}

.page-resources__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

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

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

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources__cta-button--primary {
  background-color: #FFD700;
  color: #1a1a2e;
}

.page-resources__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-button--secondary {
  background-color: #8B0000;
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-resources__cta-button--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Brand Section */
.page-resources__brand-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-resources__brand-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources__brand-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources__brand-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-resources__brand-item-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__brand-item-description {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.7;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 80px 0;
  background-color: #0a0a1a;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a4a;
  border: 1px solid #3a3a5a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources__faq-question:hover {
  background: #3a3a6a;
  border-color: #4a4a7a;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-resources__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
  background-color: #8B0000;
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1a1a2e;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Blog Section */
.page-resources__blog-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-resources__blog-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-resources__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-resources__blog-item-title a:hover {
  color: #e6c200;
}

.page-resources__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources__blog-item-date {
  font-size: 13px;
  color: #8B0000;
  font-weight: 600;
  text-align: right;
  margin-top: auto;
}

.page-resources__view-more {
  text-align: center;
  margin-top: 50px;
}

/* General image styling to prevent small icons */
.page-resources img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__main-title {
    font-size: 42px;
  }

  .page-resources__hero-description {
    font-size: 18px;
  }

  .page-resources__section-title {
    font-size: 32px;
  }

  .page-resources__brand-item-title {
    font-size: 22px;
  }

  .page-resources__blog-item-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources__hero-content {
    margin-bottom: 30px;
  }

  .page-resources__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-resources__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__hero-image-wrapper {
    margin-top: 30px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources__brand-section, .page-resources__faq-section, .page-resources__blog-section {
    padding: 50px 0;
  }

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

  .page-resources__brand-item {
    padding: 25px;
    border-radius: 8px;
  }

  .page-resources__brand-image {
    height: 180px;
    margin-bottom: 20px;
  }

  .page-resources__brand-item-title {
    font-size: 20px;
  }

  .page-resources__brand-item-description {
    font-size: 15px;
  }

  .page-resources__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-resources__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
    margin-bottom: 5px;
  }

  .page-resources__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .page-resources__faq-answer {
    padding: 0 20px;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources__faq-answer p {
    font-size: 15px;
  }

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

  .page-resources__blog-item {
    border-radius: 8px;
  }

  .page-resources__blog-image {
    height: 180px;
  }

  .page-resources__blog-content {
    padding: 20px;
  }

  .page-resources__blog-item-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-resources__blog-item-excerpt {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .page-resources__blog-item-date {
    font-size: 12px;
  }

  .page-resources__view-more {
    margin-top: 40px;
  }

  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-resources__main-title {
    font-size: 30px;
  }

  .page-resources__section-title {
    font-size: 24px;
  }

  .page-resources__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-resources__brand-item-title {
    font-size: 18px;
  }

  .page-resources__faq-question h3 {
    font-size: 15px;
  }
}