/* Fix for the guides page styles */

/* Guide cards */
.guides-grid-section .guide-card {
  background: var(--card-bg); 
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guides-grid-section .guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.guides-grid-section .guide-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.guides-grid-section .guide-content {
  padding: 1.5rem;
}

.guides-grid-section .guide-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.guides-grid-section .guide-content p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.guides-grid-section .guide-meta {
  display: flex;
  justify-content: space-between;
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.guides-grid-section .guide-meta i {
  color: var(--primary-color);
}

.guides-grid-section .guide-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.guides-grid-section .guide-link:hover {
  color: var(--hover-color);
}

.guides-grid-section .guide-link i {
  transition: transform 0.2s ease;
  margin-left: 0.25rem;
}

.guides-grid-section .guide-link:hover i {
  transform: translateX(3px);
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-color);
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Resource library */
.resource-library {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--background-color), var(--card-bg));
}

.section-description {
  color: var(--text-color);
  opacity: 0.8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.resource-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.resource-item span {
  color: var(--text-color);
  font-weight: 500;
}

/* Hero section */
.guides-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
}

/* Fix for section titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .faq-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
} 