/* ─────────────────────────────────────────────
   show.css
   app/assets/stylesheets/show.css
───────────────────────────────────────────── */

/* ── PAGE WRAPPER ── */
.show-page {
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
}

/* ── ARTICLE ── */
.show-post {
  flex: 1;
  padding-bottom: 6rem;
  animation: appear 0.6s 0.1s ease both;
}

/* ── HEADER ── */
.show-post__header {
  padding: 5rem 0 2.5rem;
  border-bottom: 1px solid rgba(27, 27, 24, 0.07);
  margin-bottom: 3rem;
}

.show-post__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.show-post__date {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(27, 27, 24, 0.35);
}

.show-post__category {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(126, 140, 123, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.show-post__category:hover {
  background: rgba(126, 140, 123, 0.2);
}

.show-post__reading-time {
  font-size: 11px;
  color: rgba(27, 27, 24, 0.25);
  letter-spacing: 0.04em;
}

.show-post__reading-time::before {
  content: "·";
  margin-right: 1rem;
  color: rgba(27, 27, 24, 0.15);
}

.show-post__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
}

/* ── IMAGE ── */
.show-post__image-wrap {
  margin-bottom: 3rem;
  overflow: hidden;
  border-radius: 2px;
}

.show-post__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}

/* ── CONTENT ── */
.show-post__content {
  line-height: 2;
  color: rgba(27, 27, 24, 0.8);
}

.show-post__content p {
  margin-bottom: 1.6rem;
}

.show-post__content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin: 3rem 0 1rem;
  line-height: 1.3;
}

.show-post__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
  margin: 2.5rem 0 0.75rem;
}

.show-post__content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 140, 123, 0.35);
  transition: border-color 0.2s;
}

.show-post__content a:hover {
  border-color: var(--accent);
}

.show-post__content strong {
  font-weight: 500;
  color: var(--dark);
}

.show-post__content em {
  font-style: italic;
  color: rgba(27, 27, 24, 0.6);
}

.show-post__content ul,
.show-post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.6rem;
  color: rgba(27, 27, 24, 0.75);
}

.show-post__content li {
  margin-bottom: 0.4rem;
}

.show-post__content blockquote {
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: rgba(27, 27, 24, 0.5);
  font-style: italic;
}

.show-post__content code {
  font-family: var(--font-body);
  font-size: 12px;
  background: rgba(27, 27, 24, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  color: var(--dark);
}

.show-post__content pre {
  background: var(--dark);
  color: rgba(245, 242, 237, 0.8);
  padding: 1.5rem;
  border-radius: 2px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 12px;
  line-height: 1.9;
}

.show-post__content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.show-post__content hr {
  border: none;
  border-top: 1px solid rgba(27, 27, 24, 0.08);
  margin: 3rem 0;
}

/* ── FOOTER ── */
.show-post__footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 27, 24, 0.07);
}

.show-post__back {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 27, 24, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.show-post__back:hover {
  color: var(--accent);
}
