/* style/resources.css */
/* 🚨 FIXED HEADER PADDING - Desktop */
.page-resources {
  padding-top: 120px; /* Adjust based on shared header height */
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicitly set for clarity */
}

/* Base container styling */
.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--secondary-color, #1A1A1A); /* Using auxiliary color for hero background */
  color: #ffffff;
}

.page-resources__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700); /* Gold color for main title */
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources__btn-primary {
  background: var(--primary-color, #FFD700);
  color: #1A1A1A; /* Dark text on gold for better contrast */
}

.page-resources__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources__btn-secondary {
  background: transparent;
  color: var(--primary-color, #FFD700);
  border: 2px solid var(--primary-color, #FFD700);
}

.page-resources__btn-secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #1A1A1A; /* Dark text on gold for better contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;
}

/* Sections */
.page-resources__guides-section,
.page-resources__faq-section,
.page-resources__news-section,
.page-resources__support-section {
  padding: 60px 0;
}

.page-resources__light-bg {
  background-color: #1A1A1A; /* Auxiliary dark background */
  color: #ffffff; /* Light text */
}

.page-resources__dark-bg {
  background-color: #0d0d0d; /* Slightly darker background for contrast */
  color: #ffffff; /* Light text */
}

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
}

.page-resources__section-description {
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

.page-resources__guide-card,
.page-resources__news-card {
  background-color: #1A1A1A; /* Dark card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__guide-card:hover,
.page-resources__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

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

.page-resources__card-title a.page-resources__card-link {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__card-title a.page-resources__card-link:hover {
  color: #ffffff;
}

.page-resources__card-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color, #FFD700);
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-resources__card-button:hover {
  background-color: #e6c200;
  color: #000000;
}

/* FAQ Section */
.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1A1A1A; /* Darker background for FAQ items */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A1A1A;
  border: 1px solid #333333; /* Darker border for contrast */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}