/* CSS Variables for theming */
:root {
  --primary-color: #2c5aa0;
  --secondary-color: #4a9fa8;
  --text-color: #333333;
  --background-color: #ffffff;
  --muted-color: #666666;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

/* Override CSS variables with Hugo params */
body {
  --primary-color: var(--hugo-primary-color, #2c5aa0);
  --secondary-color: var(--hugo-secondary-color, #4a9fa8);
  --text-color: var(--hugo-text-color, #333333);
  --background-color: var(--hugo-background-color, #ffffff);
  font-family: var(--hugo-font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* Layout */
.site-header {
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Dropdown menu styles */
.main-nav .has-children {
  position: relative;
}

.main-nav .has-children::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 0.5rem;
  color: #666;
  transition: transform 0.3s ease;
}

.main-nav .has-children:hover::after {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.sub-menu li {
  margin-bottom: 0.5rem;
}

.sub-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #333;
  border-radius: 4px;
  font-weight: 400;
  font-size: 0.9rem;
}

.sub-menu a:hover {
  background-color: rgba(44, 90, 160, 0.1);
  color: var(--primary-color);
}

.main-nav .has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile dropdown toggle */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-toggle .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #666;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.dropdown-toggle:hover .arrow {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color var(--transition-speed);
}

.search-toggle:hover {
  background-color: var(--border-color);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

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

/* Featured Topics Section */
.featured-topics {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-color);
  font-size: 1.1rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.topic-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border: 1px solid var(--border-color);
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.topic-card-content {
  padding: 2rem;
}

.topic-title {
  margin-bottom: 1rem;
}

.topic-title a {
  color: var(--text-color);
  text-decoration: none;
}

.topic-title a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.topic-summary {
  color: var(--muted-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.topic-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  font-size: 0.9rem;
  color: var(--muted-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.view-all-topics {
  text-align: center;
  margin-top: 2rem;
}

/* Topic Page Styles */
.topic-page {
  padding: 4rem 0;
}

.topic-header {
  margin-bottom: 3rem;
}

.topic-hero h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.topic-summary {
  font-size: 1.2rem;
  color: var(--muted-color);
  margin-bottom: 2rem;
}

.topic-content-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Table of Contents */
.toc-container {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  align-self: start;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc-container h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.toc-nav ul {
  list-style: none;
  padding-left: 0;
}

.toc-nav li {
  margin-bottom: 0.5rem;
}

.toc-nav a {
  color: var(--text-color);
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.5rem;
  transition: all var(--transition-speed);
}

.toc-nav a:hover {
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  padding-left: 0.75rem;
}

/* Topic Content */
.topic-content {
  line-height: 1.8;
}

.content-with-toc {
  max-width: 700px;
}

.topic-content h2, .topic-content h3, .topic-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.topic-content p {
  margin-bottom: 1.5rem;
}

.topic-content ul, .topic-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.topic-content li {
  margin-bottom: 0.5rem;
}

.topic-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.topic-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #f8f9fa;
  font-style: italic;
}

.topic-content code {
  background-color: #f1f3f4;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.topic-content pre {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Topic Tags */
.topic-tags {
  margin-bottom: 3rem;
}

.topic-tags h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all var(--transition-speed);
}

.tag-cloud a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Topic Navigation */
.topic-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
}

.nav-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Ad Section */
.ad-section {
  margin: 2rem 0;
  text-align: center;
}

.ad-container {
  margin: 2rem 0;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #ccc;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all var(--transition-speed);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #888;
}

.disclaimer {
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 1rem;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.search-overlay.active {
  display: flex;
}

.search-container {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.search-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

#searchInput {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  padding: 0.5rem;
}

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color var(--transition-speed);
}

.search-close:hover {
  background-color: #f1f3f4;
}

.search-results {
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

/* News Section Styles */
.news-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.news-subtitle {
  color: var(--muted-color);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-card-content {
  padding: 2rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-date {
  font-size: 0.85rem;
  color: var(--muted-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-author {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.news-title {
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.news-title a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.4rem;
}

.news-title a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.news-summary {
  color: var(--muted-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.news-tag:hover {
  background-color: var(--primary-color);
  transform: translateY(-1px);
}

.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.news-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-speed);
}

.news-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.news-reviewed {
  font-size: 0.8rem;
  color: var(--muted-color);
  font-style: italic;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.news-count {
  color: var(--muted-color);
  font-size: 0.9rem;
}

/* News Rolling Display Animations */
.news-grid-rolling {
  position: relative;
  overflow: hidden;
}

.news-grid-carousel {
  position: relative;
  overflow: hidden;
}

.news-card {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.9;
  transform: translateY(0);
}

.news-card-visible {
  opacity: 1;
  transform: translateY(0);
  animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-hidden {
  opacity: 0;
  transform: translateY(20px);
  animation: slideOut 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carousel-specific styling */
.news-grid-carousel .news-card {
  display: none; /* Hidden by default, shown by JS */
}

.news-grid-carousel .news-card-visible {
  display: block;
}

/* Animation keyframes for carousel */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Enhanced hover effects for rolling display */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Rolling display indicators (optional) */
.news-grid-rolling::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  opacity: 0.5;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
  100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
}

/* Mobile optimization for rolling display */
@media (max-width: 768px) {
  .news-card {
    margin-bottom: 1rem;
  }
  
  .news-card-active {
    transform: none;
  }
  
  .news-card-inactive {
    transform: none;
    opacity: 0.8;
  }
}

/* Page Layout Styles */
.page-content {
  padding: 4rem 0;
}

.page-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.page-meta {
  color: var(--muted-color);
  font-size: 0.9rem;
}

.page-content-body {
  line-height: 1.8;
  font-size: 1.1rem;
}

.page-content-body h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.page-content-body h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.page-content-body p {
  margin-bottom: 1.5rem;
}

.page-content-body ul, .page-content-body ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.page-content-body li {
  margin-bottom: 0.5rem;
}

.page-content-body strong {
  color: var(--primary-color);
}

/* Contact Form Styles */
.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card p {
  margin-bottom: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* FAQ Styles */
.faq-section {
  margin: 3rem 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background: #f8f9fa;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: #e9ecef;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-color);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-question::after {
  content: '−';
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .topic-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .toc-container {
    position: static;
    order: 2;
    margin-top: 2rem;
  }
  
  .topic-content {
    order: 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .topic-navigation {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .main-nav ul {
    display: none;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}
