/* ============================================================
   BLOG.CSS — Verto Uno Post Styles
   ============================================================ */

/* ── Blog Hero ── */
.blog-hero {
  position: relative;
  padding: 10rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.blog-hero__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-hero__waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.blog-hero__category {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--gold, #C9A84C);
  border-radius: 999px;
  color: var(--gold, #C9A84C);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.blog-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.blog-hero__sub {
  font-size: 1.1rem;
  opacity: 0.72;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.blog-hero__meta {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.5;
  flex-wrap: wrap;
}

.blog-hero__meta span + span::before {
  content: '·';
  padding: 0 0.6rem;
}

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.45;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover { opacity: 1; }

.breadcrumb span + span::before {
  content: ' / ';
  padding: 0 0.35rem;
}

/* ── Post Layout ── */
.post-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 7rem;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 4.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .post-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .post-sidebar { display: none; }
}

/* ── Post Content (Prose) ── */
.post-content {
  min-width: 0;
}

.post-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  margin: 3.5rem 0 1rem;
  line-height: 1.25;
  scroll-margin-top: 5rem;
}

.post-content h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.6rem;
  color: var(--gold, #C9A84C);
  scroll-margin-top: 5rem;
}

.post-content p {
  line-height: 1.85;
  margin-bottom: 1.2rem;
  opacity: 0.82;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.post-content li {
  line-height: 1.75;
  margin-bottom: 0.45rem;
  opacity: 0.82;
}

.post-content strong {
  opacity: 1;
  font-weight: 700;
}

.post-content a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.post-content a:hover { opacity: 0.8; }

.post-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--gold, #C9A84C);
}

/* ── Price Table ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.875rem;
  overflow-x: auto;
  display: block;
}

.price-table th {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gold, #C9A84C);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  white-space: nowrap;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  opacity: 0.82;
}

.price-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  opacity: 1;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ── Callout Box ── */
.callout {
  border-left: 3px solid var(--gold, #C9A84C);
  background: rgba(201, 168, 76, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.callout p {
  margin: 0;
  opacity: 1;
  font-size: 0.95rem;
}

/* ── CTA Box ── */
.post-cta {
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3.5rem 0;
  background: rgba(201, 168, 76, 0.04);
}

.post-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: inherit;
}

.post-cta p {
  margin-bottom: 1.75rem;
  opacity: 0.75;
}

/* ── FAQ Section ── */
.post-faq { margin: 1rem 0 2rem; }

.post-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.4rem 0;
}

.post-faq__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.post-faq__q {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.65rem;
  opacity: 1;
}

.post-faq__a p {
  margin: 0;
  font-size: 0.95rem;
}

/* ── Author Card ── */
.author-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: 4rem;
}

.author-card__avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold, #C9A84C);
}

.author-card__name {
  font-weight: 700;
  margin-bottom: 0.2rem;
  opacity: 1;
}

.author-card__role {
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.5;
  margin-bottom: 0.6rem;
}

.author-card p { font-size: 0.9rem; margin: 0; }

/* ── Sidebar TOC ── */
.post-sidebar {
  position: sticky;
  top: 6rem;
}

.toc {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  font-size: 0.84rem;
}

.toc__title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.45;
  margin-bottom: 1rem;
}

.toc ol {
  padding-left: 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.toc li { margin: 0; }

.toc a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1.4;
  display: block;
}

.toc a:hover {
  opacity: 1;
  color: var(--gold, #C9A84C);
}
