.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9375rem; /* 15px */
}

.back-link {
  font-size: 0.8125rem; /* 13px */
  margin-bottom: 0.9375rem; /* 15px */
}

.back-link a {
  color: #0033aa;
  text-decoration: underline;
}

.back-link a:hover {
  color: #ff6600;
}

.post-date {
  font-size: 0.75rem; /* 12px */
  color: #666;
  margin-bottom: 1.25rem; /* 20px */
}

.content {
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
  color: #1a1a1a;
}

.content pre {
  background-color: #f0f0f0;
  color: #111;
  padding: 0.625rem; /* 10px */
  border-left: 0.25rem solid #004d4d; /* 4px */
  overflow-x: auto;
  font-size: 0.8125rem; /* 13px */
}

.content img {
  max-width: 100%;
  height: auto;
  display: block;
}

p code,
li code,
td code,
span code {
  background-color: #eef6fb;
  color: #008080;
  padding: 0.15em 0.3em;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .back-link {
    font-size: 0.75rem; /* 12px */
  }

  .post-date {
    font-size: 0.6875rem; /* 11px */
  }

  .content {
    font-size: 0.8125rem; /* 13px */
  }

  .content pre {
    font-size: 0.75rem; /* 12px */
    padding: 0.5rem;
  }

  .quote {
    font-size: 0.875rem;
    padding: 0.75rem;
  }
}

/* shortcodes */
.prompt {
  display: flex;
  align-items: flex-start;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.prompt .icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  line-height: 1;
}

.prompt.tip {
  background: #e6f9e6;
  color: #1a1a1a;
}

.prompt.tip .icon::before {
  content: "💡";
}

.prompt.info {
  background: #e6f2ff;
  color: #1a1a1a;
}

.prompt.info .icon::before {
  content: "ℹ️";
}

.prompt.warning {
  background: #fff8dc;
  color: #1a1a1a;
}

.prompt.warning .icon::before {
  content: "⚠️";
}

.prompt.danger {
  background: #ffe6e6;
  color: #1a1a1a;
}

.prompt.danger .icon::before {
  content: "❌";
}

.side-by-side {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.side-by-side .img-box {
  flex: 1 1 48%;
}

.side-by-side img {
  width: 100%;
  height: auto;
  display: block;
}
