/* =========================================
   FAQ PAGE STYLES
========================================= */

.faq-breadcrumbs {
  background: white;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.breadcrumb-container a {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.breadcrumb-container a:hover {
  text-decoration: underline;
}

.breadcrumb-container .separator {
  color: #ccc;
  font-size: 0.8rem;
}

.faq-page-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- Hero Section --- */
.faq-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(36, 129, 70, 0.95) 0%, rgba(26, 95, 52, 0.98) 100%);
  border-radius: 24px;
  margin-top: 24px;
  padding: 60px 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.faq-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../assets/santali-pattern-bg.png'); /* Placeholder if any */
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
}

.faq-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.faq-hero-content h1 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.faq-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.6;
}

.faq-search-box {
  display: flex;
  background: white;
  padding: 8px;
  border-radius: 12px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 700px;
}

.faq-search-box svg {
  color: var(--text-muted);
  margin: 0 15px;
}

.faq-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--text-strong);
  padding: 10px 0;
}

.faq-search-box input::placeholder {
  color: var(--text-muted);
}

.faq-search-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-search-btn:hover {
  background: var(--primary-dark);
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
  .faq-hero {
    padding: 40px 20px;
    border-radius: 16px;
  }
  .faq-hero-content h1 {
    font-size: 2.2rem;
  }
  .faq-hero-content p {
    font-size: 1.05rem;
  }
  .faq-search-box {
    flex-direction: column;
    padding: 15px;
  }
  .faq-search-box svg {
    display: none;
  }
  .faq-search-box input {
    width: 100%;
    padding: 0 0 15px 0;
    text-align: center;
  }
  .faq-search-btn {
    width: 100%;
  }
}

/* --- Top Widgets --- */
.faq-top-widgets {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 24px;
}

.widget-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.4rem;
  color: var(--text-strong);
  margin-top: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-title svg {
  color: var(--primary);
}

.faq-categories-widget {
  /* No special bg needed, just acts as a container */
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cat-card {
  background: white;
  border-radius: 16px;
  padding: 20px 16px;
  border: 1px solid var(--border-light);
  flex: 1 1 calc(25% - 16px);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(36,129,70,0.1);
  border-color: var(--primary-light);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-size: 1.1rem;
  color: var(--text-strong);
  margin: 0 0 4px 0;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ at a Glance */
.faq-glance-widget {
  background: #F4F8F5; /* Very subtle green tint */
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
}

.glance-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.stat-icon {
  color: var(--primary);
}

.stat-text h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--text-strong);
  margin: 0;
  line-height: 1;
}

.stat-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
}

/* Mobile Adjustments for Top Widgets */
@media (max-width: 992px) {
  .faq-top-widgets {
    grid-template-columns: 1fr;
  }
  .cat-card {
    flex: 1 1 calc(33.333% - 16px);
  }
}

@media (max-width: 576px) {
  .cat-card {
    flex: 1 1 calc(50% - 16px);
  }
}

/* --- Phase 2: Popular & Quick Help --- */
.faq-mid-widgets {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}

.popular-questions-card, .quick-help-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.pq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.pq-header .widget-title {
  margin-bottom: 0;
  border: none;
  padding: 0;
}

.view-all-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.view-all-link:hover {
  text-decoration: underline;
}

.pq-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.pq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pq-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.pq-list li:hover {
  background: #f9fdfa;
  border-color: #e5f3ea;
}

.pq-num {
  width: 28px;
  height: 28px;
  background: #e5f3ea;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pq-text {
  flex: 1;
  font-size: 1rem;
  color: var(--text-strong);
  font-weight: 500;
}

.pq-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
}

.pq-illustration {
  width: 150px;
  display: flex;
  justify-content: center;
}

.qh-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qh-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

.qh-item:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(36,129,70,0.08);
  transform: translateY(-2px);
}

.qh-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.qh-item:hover .qh-icon {
  background: var(--primary);
  color: white;
}

.qh-text {
  flex: 1;
}

.qh-text h4 {
  margin: 0 0 2px 0;
  color: var(--text-strong);
  font-size: 1.05rem;
  font-family: 'Baloo 2', sans-serif;
}

.qh-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.qh-arrow {
  color: var(--text-muted);
}

/* Support Banner */
.faq-support-banner {
  background: #FDF9E6; /* Very light yellow/cream */
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  border: 1px solid rgba(245, 124, 0, 0.15);
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.banner-text h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  color: var(--text-strong);
  margin: 0 0 5px 0;
}

.banner-text p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.05rem;
}

.ask-btn {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.ask-btn:hover {
  background: var(--primary);
}

.banner-right {
  display: flex;
  gap: 24px;
}

.banner-perk {
  display: flex;
  align-items: center;
  gap: 12px;
}

.perk-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E88E5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.perk-text {
  display: flex;
  flex-direction: column;
}

.perk-text strong {
  color: var(--text-strong);
  font-size: 0.95rem;
}

.perk-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
  .faq-support-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner-right {
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .faq-mid-widgets {
    grid-template-columns: 1fr;
  }
  .pq-illustration {
    display: none;
  }
}

@media (max-width: 576px) {
  .banner-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* --- Phase 3: All FAQ Grid & Sidebar --- */
.faq-all-section {
  margin-top: 20px;
}

.faq-section-header {
  margin-bottom: 30px;
}

.faq-section-header h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin: 0 0 5px 0;
}

.faq-section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

.faq-layout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}

.faq-accordion-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-category-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.faq-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cat-icon-inline {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-cat-header h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--text-strong);
  margin: 0;
}

.cat-count {
  color: var(--text-muted);
  font-weight: normal;
  font-size: 1rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-strong);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 0 15px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.view-all-cat {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.view-all-cat:hover {
  text-decoration: underline;
}

/* Sidebar Styles */
.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 6px 6px 6px 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.sidebar-search-box svg {
  color: var(--text-muted);
}

.sidebar-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 0.95rem;
}

.small-search-btn {
  background: var(--primary-dark);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.small-search-btn:hover {
  background: var(--primary);
}

.sidebar-tip {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.tip-icon {
  color: var(--primary);
}

.tip-text h4 {
  margin: 0 0 5px 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.tip-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

.sidebar-contact-card {
  background: #FDF9E6;
  border: 1px solid #FDECB3;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.sidebar-contact-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.4rem;
  color: var(--text-strong);
  margin: 0 0 5px 0;
}

.sidebar-contact-card p {
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  font-size: 0.95rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px 15px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.contact-link:hover:not(.no-hover) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36,129,70,0.1);
}

.contact-link.no-hover {
  cursor: default;
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-text strong {
  color: var(--text-strong);
  font-size: 0.95rem;
}

.c-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.c-arrow {
  color: var(--primary);
}

.contact-illustration {
  position: absolute;
  right: -30px;
  bottom: -30px;
  opacity: 0.5;
  z-index: 1;
}

.sidebar-resources-card {
  background: #F4F8F5;
  border: 1px solid #E8F5E9;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.sidebar-resources-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 0 0 20px 0;
}

.s-res-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.s-res-link {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
}

.s-res-link:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(36,129,70,0.08);
  transform: translateX(4px);
}

.s-icon {
  color: var(--primary);
  background: #e5f3ea;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s-text strong {
  color: var(--text-strong);
  font-size: 0.9rem;
}

.s-text span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.s-arrow {
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.s-res-link:hover .s-arrow {
  opacity: 1;
}

.sidebar-img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.3;
  z-index: 1;
}

/* Mobile Adjustments for Phase 3 */
@media (max-width: 1100px) {
  .faq-layout-grid {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .faq-accordion-col {
    grid-template-columns: 1fr;
  }
}

/* --- Phase 4: Learning & Help Resources --- */
.faq-resources-section {
  margin-top: 30px;
  background: #fcfdfe;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-light);
}

.res-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

.res-header-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-header h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  color: var(--text-strong);
  margin: 0 0 5px 0;
}

.res-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

.res-header-decor {
  position: absolute;
  right: 0;
  top: 0;
}

.res-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.res-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.res-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.res-card-header h3 {
  font-size: 1.15rem;
  color: var(--text-strong);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.res-card-header h3 svg {
  color: var(--primary);
}

.res-card-header a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.res-card-header a:hover {
  text-decoration: underline;
}

/* Video Tutorials */
.video-grid-carousel, .article-grid-carousel {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-arrow {
  width: 30px;
  height: 30px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: absolute;
  z-index: 5;
  color: var(--text-strong);
}

.nav-arrow:hover {
  background: #f4f8f5;
  color: var(--primary);
}

.nav-arrow.left { left: -15px; }
.nav-arrow.right { right: -15px; }

.video-cards-container, .art-cards-container {
  display: flex;
  gap: 15px;
  overflow: hidden; /* simplistic carousel */
  width: 100%;
}

.v-card, .art-card {
  flex: 1 0 calc(33.333% - 10px);
  min-width: 130px;
}

.v-thumb, .art-thumb {
  height: 100px;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.v-time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.play-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-btn svg {
  margin-left: 3px;
}

.v-info h4, .art-info h4 {
  font-size: 0.95rem;
  color: var(--text-strong);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.v-info p, .art-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.v-badge {
  font-size: 0.7rem;
  background: #e5f3ea;
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.art-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.art-link {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Step-by-Step Guides */
.step-guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-guide-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.step-guide-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sgi-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgi-text {
  flex: 1;
}

.sgi-text h4 {
  font-size: 0.95rem;
  color: var(--text-strong);
  margin: 0 0 2px 0;
}

.sgi-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.sgi-arrow {
  color: var(--text-muted);
}

/* Community Discussions */
.community-disc-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comm-disc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.comm-disc-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cdi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.cdi-content {
  flex: 1;
}

.cdi-content h4 {
  font-size: 0.95rem;
  color: var(--text-strong);
  margin: 0 0 4px 0;
}

.cdi-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cdi-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cdi-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Downloads & Wallpapers */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.dl-icon {
  width: 36px;
  height: 36px;
  background: #ffebee;
  color: #e53935;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dl-text {
  flex: 1;
}

.dl-text h4 {
  font-size: 0.9rem;
  color: var(--text-strong);
  margin: 0 0 2px 0;
}

.dl-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dl-btn {
  padding: 6px 12px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
}

.dl-btn:hover {
  background: var(--primary);
  color: white;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-thumb {
  height: 120px;
  border-radius: 12px;
}

.wp-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.wp-dl:hover {
  text-decoration: underline;
}

/* Mobile Adjustments Phase 4 */
@media (max-width: 1200px) {
  .res-layout-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .faq-resources-section {
    padding: 24px;
  }
  .res-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Phase 5: App Banner & Bottom --- */
.faq-app-banner {
  margin-top: 40px;
  background: var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.app-banner-content h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2rem;
  margin: 0 0 5px 0;
  color: white;
}

.app-banner-content p {
  font-size: 1.1rem;
  margin: 0 0 25px 0;
  opacity: 0.9;
}

.app-buttons {
  display: flex;
  gap: 15px;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: black;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.app-store-btn:hover {
  transform: translateY(-2px);
}

.app-store-btn div {
  display: flex;
  flex-direction: column;
}

.app-store-btn span {
  font-size: 0.65rem;
  text-transform: uppercase;
}

.app-store-btn strong {
  font-size: 1.1rem;
  line-height: 1;
}

.app-banner-img {
  position: absolute;
  right: 40px;
  bottom: -20px;
}

.faq-bottom-help {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-help-icon {
  width: 60px;
  height: 60px;
  background: #e5f3ea;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.faq-bottom-help h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  color: var(--text-strong);
  margin: 0 0 10px 0;
}

.faq-bottom-help p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 25px 0;
}

.submit-q-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-q-btn:hover {
  background: var(--primary-dark);
}

/* Mobile Adjustments Phase 5 */
@media (max-width: 768px) {
  .faq-app-banner {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  .app-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .app-banner-img {
    display: none;
  }
}
