.home-summary-grid {
  margin-bottom: 12px;
}

.home-post-form {
  margin-bottom: 12px;
}

.home-compose-page {
  display: grid;
  gap: 12px;
}

.home-compose-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.home-compose-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.home-editor-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-body-field textarea {
  min-height: 180px;
  line-height: 1.55;
}

.home-main-head {
  align-items: flex-start;
}

.home-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.home-post-options {
  align-content: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-feed {
  display: grid;
  gap: 12px;
}

.home-post-card {
  display: grid;
  gap: 12px;
}

.home-detail-layout {
  display: grid;
  gap: 12px;
}

.home-post-card.pinned {
  border-color: rgba(215, 0, 91, 0.34);
  box-shadow: 0 0 0 3px rgba(215, 0, 91, 0.08), var(--shadow);
}

.home-post-card.important {
  background: linear-gradient(180deg, var(--panel), var(--brand-soft));
}

.home-post-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.home-post-head h3 {
  margin: 6px 0 2px;
}

.home-post-detail h2 {
  margin: 8px 0 4px;
}

.home-post-title-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  padding: 0;
  text-align: left;
}

.home-post-title-button:hover,
.home-post-title-button:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.home-post-body {
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.home-post-body a {
  color: var(--blue);
  font-weight: 800;
}

.home-post-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.home-post-images.single {
  grid-template-columns: minmax(0, 1fr);
}

.home-post-images a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 16 / 9;
}

.home-post-images.single a {
  max-height: 360px;
}

.home-post-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-post-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-post-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.home-comment-panel {
  display: grid;
  gap: 12px;
}

.home-comment-form textarea {
  min-height: 92px;
}

