.detail-page { margin-top: 5rem; }
.detail-hero {
  padding-top: 5.4rem;
  padding-bottom: 3.4rem;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8 55%, #fff7ed);
  position: relative;
  overflow: hidden;
}
.detail-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-content-wrap { padding-top: 2.5rem; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.4rem;
  align-items: start;
}
.detail-content {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: #fff;
}
.detail-cover {
  height: 320px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.detail-cover.has-image {
  overflow: hidden;
  background: #f3f4f6;
}
.detail-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-content h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}
.detail-content p,
.detail-content li {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}
.blog-editor-content > * + * { margin-top: 1rem; }
.blog-editor-content h2,
.blog-editor-content h3,
.blog-editor-content h4 {
  color: #111827;
  line-height: 1.25;
}
.blog-editor-content h3 { font-size: 1.15rem; }
.blog-editor-content h4 { font-size: 1rem; }
.blog-editor-content a {
  color: #db2777;
  font-weight: 700;
}
.blog-editor-content a:hover { color: #be185d; }
.blog-editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.blog-editor-content figure {
  margin: 1.25rem 0;
}
.blog-editor-content figcaption {
  margin-top: 0.45rem;
  color: #6b7280;
  font-size: 0.84rem;
  text-align: center;
}
.blog-editor-content .wp-block-image,
.blog-editor-content .wp-block-embed,
.blog-editor-content .wp-block-gallery {
  margin: 1.35rem 0;
}
.blog-editor-content .wp-block-embed iframe,
.blog-editor-content .wp-block-video video {
  width: 100%;
  border-radius: var(--radius-md);
}
.blog-editor-content .wp-block-table {
  overflow-x: auto;
}
.blog-editor-content table {
  width: 100%;
  border-collapse: collapse;
}
.blog-editor-content th,
.blog-editor-content td {
  border: 1px solid var(--line-soft);
  padding: 0.65rem;
  text-align: left;
}
.detail-content ul,
.detail-content ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.detail-content blockquote {
  margin: 1.1rem 0;
  border-left: 4px solid #ec4899;
  background: #fdf2f8;
  border-radius: 0.4rem;
  padding: 0.9rem;
  color: #831843;
  font-weight: 700;
}

.detail-sidebar .sticky-box {
  position: sticky;
  top: 6.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #fff;
}
.sticky-box h3 { font-size: 1.08rem; margin-bottom: 0.8rem; }
.related-post {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: 0.8rem;
  padding: 0.7rem;
  margin-bottom: 0.6rem;
}
.related-post:hover { border-color: #f9a8d4; background: #fff7fb; }
.related-post p {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #be185d;
}
.related-post h4 {
  font-size: 0.95rem;
  color: #1f2937;
  line-height: 1.35;
}

.detail-cta { padding-top: 2rem; }

@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar .sticky-box { position: static; }
}
