body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #0205b9;
  color: #fff;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0205b9;
}
header .site-title {
  margin: 0;
  font-size: 2.5em;
  font-weight: bold;
  border: 2px solid white;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 2rem;
  margin-top: 10px;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
nav a[aria-current="page"] {
  text-decoration: underline;
}
.content {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 900px;
  padding: 0 20px;
}
.image-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.maintenance-banner {
  background-color: #ff9800;
  color: black;
  text-align: center;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #f57c00;
}
.maintenance-banner p {
  margin: 0;
  font-weight: bold;
}
footer {
  background-color: #444;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  nav {
    margin-top: 1rem;
    gap: 1rem;
  }
}

/* FAQ page styles */
.faq-section {
  font-family: system-ui;
  max-width: 800px;
  margin: 0 auto;
}
.faq-section details {
  margin-bottom: 1rem;
}
.faq-section summary {
  cursor: pointer;
  font-weight: bold;
  background-color: blue;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  position: relative;
  list-style: none;
}
.faq-section summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-section details[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding: 1rem;
  background-color: #0205b9;
  border: 1px solid #ddd;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.faq-content a {
  color: #ffd700;
  text-decoration: none;
}
.faq-content a:visited {
  color: #ffbb00;
}
.faq-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Chat widget styles */
.chat-container {
  max-width: 600px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.chat-header {
  background: blue;
  padding: 15px;
  border-bottom: 1px solid #ddd;
}
.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
}
.message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
}
.user-message {
  background: #007bff;
  color: white;
  margin-left: 50px;
}
.assistant-message {
  background: blue;
  margin-right: 50px;
}
.assistant-message p {
  margin: 0 0 10px 0;
}
.assistant-message p:last-child {
  margin-bottom: 0;
}
.assistant-message ol {
  margin: 5px 0 10px 0;
  padding-left: 24px;
}
.assistant-message ol:last-child {
  margin-bottom: 0;
}
.assistant-message li {
  margin-bottom: 4px;
}
.sources-message,
.search-meta-message {
  background: transparent;
  color: #666;
  font-size: 0.85em;
  font-style: italic;
  margin-right: 50px;
  padding: 4px 10px;
}
.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #ddd;
}
#messageInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#sendButton {
  padding: 10px 20px;
  margin-left: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.loading {
  opacity: 0.6;
}
