/* Shared styles for the guide pages (new blog guides + resource landing pages).
   The FAQ accordion rules mirror the existing blog FAQ styling so every FAQ on
   the site looks identical. */

.faq-accordion .accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 500;
  font-size: 1rem;
  color: #1a1a1a;
  background-color: #fff;
  padding: 18px 20px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #800064;
  background-color: #fdf5fb;
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23800064'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  color: #444;
  font-size: 0.97rem;
  line-height: 1.7;
  padding: 16px 20px 20px;
  background-color: #fdf5fb;
  border-top: 1px solid #f0d8eb;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(128, 0, 100, 0.15);
}

/* ---------- Related guides ---------- */
.guide-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.guide-links__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  color: #1a1a1a !important;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-links__item:hover,
.guide-links__item:focus-visible {
  border-color: #FF7400;
  box-shadow: 0 8px 22px rgba(255, 116, 0, 0.12);
  color: #FF7400 !important;
  transform: translateY(-2px);
}

.guide-links__item i {
  flex-shrink: 0;
  color: #FF7400;
  font-size: 13px;
}

@media (max-width: 991px) {
  .guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .guide-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
