.excerpt-container {
  position: relative;
  margin: 30px 0;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  background: #1D1E22;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.excerpt-content {
  max-height: 900px;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.excerpt-container.expanded .excerpt-content {
  max-height: none;
}

.toggle-button-container {
  text-align: center;
  margin-top: 20px;
}

.toggle-button {
  display: inline-block;
  background: linear-gradient(135deg, #0073aa, #00bfff);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
  transition: all 0.3s ease-in-out;
}

.toggle-button:hover {
  background: linear-gradient(135deg, #005f8d, #00a3cc);
  box-shadow: 0 6px 16px rgba(0, 115, 170, 0.5);
  transform: scale(1.03);
}

.toggle-button::after {
  content: ' ▼';
  font-size: 12px;
}

.excerpt-container.expanded .toggle-button::after {
  content: ' ▲';
}
