/* ====== PAGE WRAPPER ====== */
.faq-page {
  position: relative;
  overflow: hidden;       /* keep background contained */
}

/* ====== BACKGROUND IMAGE ====== */
.faq-page-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* allow clicks through */
  z-index: 0;
}
.faq-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;           /* adjust for more/less “ghost” effect */
}

/* ====== CONTENT CONTAINER ====== */
.faq-page-container {
  position: relative;
  z-index: 1;             /* sit above the background */
  max-width: 2000px;
  margin: 2.5rem auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding-left: 280px;
}

/* ====== HIDE SIDEBAR (if present) ====== */
.faq-sidebar {
  display: none;
}

/* ====== FAQ BOX ====== */
.faq-content {
  flex: 1;
  background: rgba(255,255,255,0.85);  /* semi-transparent white */
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* ====== HEADINGS ====== */
.faq-content h1 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ====== LINK STYLES ====== */
.faq-content a {
  color: #0066cc;
  text-decoration: underline;
}

/* ====== FAQ LIST ====== */
.faq-list {
  margin: 0;
  padding: 0;
}
.faq-list dt {
  font-size: 1.75rem;      /* increased for readability */
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  position: relative;
  padding-right: 2rem;
  cursor: default;
}
.faq-list dt::after {
  content: '';           /* no toggle icons */
}
.faq-list dd {
  font-size: 1.25rem;      /* increased for readability */
  margin: 0 0 1.5rem;
  display: block;        /* always expanded */
  line-height: 1.8;
}

/* ====== FOCUS STATE ====== */
.faq-list dt:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .faq-page-container {
    flex-direction: column;
    padding: 1rem;
  }
  .faq-content {
    box-shadow: none;
    padding: 1.5rem;
  }
}

/* ====== SIDEBAR WRAPPER ====== */
.faq-sidebar {
  display: block;          /* make it visible */
  flex: 0 0 280px;         /* fixed width */
}

/* Buttons container */
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Button styling */
.faq-button {
  display: block;
  padding: 0.75rem 1rem;
  background-color: #0066cc;
  color: #ffffff;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}
.faq-button:hover,
.faq-button:focus {
  background-color: #005bb5;
}



/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .faq-page-container {
    flex-direction: column;
    padding: 1rem;
  }
  .faq-content {
    box-shadow: none;
    padding: 1.5rem;
  }
  .faq-sidebar {
    width: 100%;
    flex: none;
    margin-top: 2rem;
  }
}

/* Sidebar container styling */
.faq-sidebar {
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
  padding: 2rem; /* Add padding around the sidebar */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Messages above buttons */
.sidebar-buttons p {
  font-size: 1.2rem; /* Slightly larger font for readability */
  color: #333; /* Neutral dark gray */
  margin-bottom: 0.5rem; /* Space between message and button */
  line-height: 1.5; /* Improve readability */
}

/* Buttons styling */
.faq-button {
  display: block; /* Make the button span the full width */
  padding: 0.75rem 1rem; /* Add padding for a comfortable click area */
  background-color: #0066cc; /* Primary blue color */
  color: #ffffff; /* White text */
  text-align: center; /* Center-align text */
  border-radius: 4px; /* Rounded corners */
  text-decoration: none; /* Remove underline */
  font-size: 1rem; /* Standard button font size */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover and focus states for buttons */
.faq-button:hover,
.faq-button:focus {
  background-color: #005bb5; /* Darker blue on hover/focus */
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
  .faq-sidebar {
    width: 100%; /* Sidebar takes full width on smaller screens */
    margin-top: 2rem; /* Add spacing above the sidebar */
  }

  .sidebar-buttons p {
    font-size: 1rem; /* Slightly smaller font for smaller screens */
  }

  .faq-button {
    font-size: 0.9rem; /* Adjust button font size for smaller screens */
    padding: 0.6rem 0.8rem; /* Reduce padding for smaller screens */
  }
}
