/* Jurnalul: lista de articole (/jurnal/, arhive) și articolul. */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--forest); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.post-card__placeholder img { width: 120px; height: auto; opacity: 0.6; }
.post-card__meta { color: var(--terracotta-700); }
.post-card__title { font-family: var(--font-serif); font-variation-settings: "SOFT" 0, "WONK" 1; font-weight: 300; font-size: 26px; line-height: 1.2; color: var(--forest); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--terracotta-700); }
.post-card__excerpt { font-size: 16px; line-height: 1.6; color: var(--charcoal); }

.post-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.post-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1.5px solid var(--stone); border-radius: var(--radius-md); color: var(--forest); text-decoration: none; }
.post-pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--ivory); }

.jurnal-empty { max-width: 640px; padding: 48px; border: 1.5px solid var(--stone); border-radius: var(--radius-md); }
.jurnal-empty p { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--charcoal); }

/* Articolul */
.post__header { padding: 140px 0 40px; }
.post__narrow { max-width: 800px; }
.post__header .eyebrow { margin-top: 32px; }
.post__header .eyebrow a { color: inherit; text-decoration: none; }
.post__title { margin-top: 16px; font-family: var(--font-serif); font-variation-settings: "SOFT" 0, "WONK" 1; font-weight: 300; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.02em; color: var(--forest); }
.post__lead { margin-top: 20px; font-size: 21px; line-height: 1.55; color: var(--charcoal); }
.post__meta { margin-top: 24px; padding-top: 20px; border-top: 1.5px solid var(--stone); font-size: 15px; color: var(--muted); }
.post__media { margin: 0 auto 56px; }
.post__media img { width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--radius-md); }
.post__content { max-width: none; font-size: 18px; }
.post__content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.post__content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--terracotta); font-family: var(--font-serif); font-size: 24px; line-height: 1.4; color: var(--forest); }

.post-cta { margin: 64px 0 96px; padding: 40px; background: var(--forest); color: var(--ivory); border-radius: var(--radius-md); }
.post-cta__title { margin: 14px 0 12px; font-family: var(--font-serif); font-variation-settings: "SOFT" 0, "WONK" 1; font-weight: 300; font-size: 30px; line-height: 1.2; color: var(--ivory); }
.post-cta p:not(.eyebrow) { margin-bottom: 24px; font-size: 17px; line-height: 1.6; color: rgba(246, 242, 234, 0.85); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post__header { padding-top: 112px; }
  .post__lead { font-size: 18px; }
  .post__content { font-size: 17px; }
  .post-cta { padding: 28px 22px; margin-bottom: 64px; }
  .jurnal-empty { padding: 28px 22px; }
}

/* AI first: „Pe scurt”, cuprinsul și autorul */
.post__updated { white-space: nowrap; }
.post__tldr { margin-top: 28px; padding: 24px 28px; background: var(--sand); border-left: 3px solid var(--terracotta); border-radius: var(--radius-md); }
.post__tldr-label { color: var(--terracotta-700); margin-bottom: 8px; }
.post__tldr p:last-child { font-size: 19px; line-height: 1.6; color: var(--forest); }
.post-toc { margin: 0 0 40px; padding: 20px 24px; border: 1.5px solid var(--stone); border-radius: var(--radius-md); }
.post-toc__label { color: var(--muted); margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 1.2em; }
.post-toc li + li { margin-top: 6px; }
.post-toc a { color: var(--forest); text-decoration: none; }
.post-toc a:hover { color: var(--terracotta-700); text-decoration: underline; }
.post__content h2 { scroll-margin-top: 110px; }
.post-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 56px; padding-top: 28px; border-top: 1.5px solid var(--stone); }
.post-author img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.post-author__name { font-family: var(--font-serif); font-size: 21px; color: var(--forest); margin-bottom: 6px; }
.post-author p:last-child { font-size: 15px; line-height: 1.6; color: var(--charcoal); }
