.detail-container {
  padding: 2rem;
  max-width: 700px;
  margin: 2rem auto;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ececec;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.detail-title {
  font-size: 2rem;
  color: var(--text-color-black);
  margin: 0;
  word-break: break-word;
}

.detail-date {
  font-size: 1rem;
  color: var(--text-color-detail-date);
  white-space: nowrap;
}

.detail-content {
  font-size: 1.15rem;
  color: var(--text-color-black);
  margin-bottom: 1.5rem;
}

.detail-author {
  text-align: right;
  color: var(--text-color-detail-author);
  font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 900px) {
  .detail-container {
    max-width: 95vw;
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .detail-container {
    padding: 1rem;
    gap: 24px;
  }
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .detail-title {
    font-size: 1.3rem;
  }
  .detail-date {
    font-size: 0.95rem;
  }
  .detail-content {
    font-size: 1rem;
  }
  .detail-author {
    font-size: 0.95rem;
  }
}
