.post-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px 0;
}

/* Header content constrained to max-w-4xl = 896px, centered */
.post-header {
  max-width: 896px;
  margin: 0 auto;
}

/* ── POST HEADER ── */
.post-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.post-cat {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: #fef3c7;
  color: #92400e;
  transition: opacity 0.15s;
}
.post-cat--green  { background: #dcfce7; color: #166534; }
.post-cat--blue   { background: #dbeafe; color: #1d4ed8; }
.post-cat--purple { background: #ede9fe; color: #6d28d9; }
.post-cat--rose   { background: #ffe4e6; color: #be123c; }
.post-cat--amber  { background: #fef3c7; color: #92400e; }
.post-cat--teal   { background: #ccfbf1; color: #0f766e; }
.post-cat--pink   { background: #fce7f3; color: #9d174d; }
.post-cat:hover { opacity: 0.8; }
.post-cat-sep { display: none; }

.post-title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  line-height: 1.16;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.post-excerpt {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.post-author-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}
.post-author-date {
  font-size: 13px;
  color: #9ca3af;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.post-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: #f3f4f6;
  transition: background 0.15s, color 0.15s;
}
.post-stat svg { width: 18px; height: 18px; }
.post-stat--gray { color: #6b7280; }
.post-stat--gray:hover { background: #fff1f2; color: #e11d48; }
.post-stat--comment { color: #6b7280; }
.post-stat--comment:hover { background: #f0fdfa; color: #0d9488; }

.post-actions-divider {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  margin: 0 2px;
}

.post-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  display: grid; place-items: center;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.post-icon-btn svg { width: 20px; height: 20px; }
.post-icon-btn:hover { background: #f3f4f6; color: #111; }
.post-icon-btn--more { letter-spacing: 1px; font-size: 18px; color: #9ca3af; }

/* ── FEATURED IMAGE ── */
.post-featured-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0 48px;
  aspect-ratio: 16 / 9;
}
.post-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── TWO COLUMN BODY ── */
.post-body {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-bottom: 80px;
}

/* ── ARTICLE PROSE ── */
.post-content {
  flex: 2;
  min-width: 0;
  padding-right: 80px;
}

.post-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 24px;
}

.post-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.4px;
  margin: 40px 0 16px;
}

.post-content ul,
.post-content ol {
  padding-left: 0;
  margin-bottom: 24px;
  list-style: none;
}
.post-content ul li,
.post-content ol li {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
}
.post-content ol {
  counter-reset: elora-ol;
}
.post-content ol li {
  counter-increment: elora-ol;
}
.post-content ol li::before {
  content: counter(elora-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  font-weight: 600;
  color: #d1d5db;
  line-height: 1.8;
}

.post-content blockquote,
.post-content .wp-block-quote {
  border-left: 3px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-style: italic;
  color: #374151;
  font-size: 18px;
  line-height: 1.8;
}
.post-content blockquote p,
.post-content .wp-block-quote p {
  margin: 0;
  font-style: italic;
}
.post-content .wp-block-quote cite,
.post-content blockquote cite {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  font-style: normal;
  margin-top: 8px;
}

.post-content a {
  color: #111;
  text-decoration: underline;
}

.post-content strong { font-weight: 700; color: #111; }

/* ── All images inside post content ── */
.post-content img,
.post-content .wp-block-image img,
.post-content .wp-block-cover,
.post-content .wp-block-media-text img {
  border-radius: 16px;
  overflow: hidden;
}
.post-content .wp-block-image {
  margin: 32px 0;
}
.post-content .wp-block-image figcaption {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.post-content figure img {
  border-radius: 16px;
}

.post-figure {
  margin: 32px 0 12px;
}
.post-figure img {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-figure figcaption {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── TAGS ── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}
.post-tag {
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s;
}
.post-tag:hover { background: #f9fafb; }

/* ── AUTHOR BIO ── */
.author-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin: 0 0 36px;
}
/* Top row: avatar + label/name */
.author-bio-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-bio-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio-id { display: flex; flex-direction: column; gap: 2px; }
.author-bio-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.author-bio-name {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}
.author-bio-body { display: contents; }
.author-bio-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}
.author-bio-text a { color: #111; font-weight: 500; text-decoration: underline; }
.author-bio-socials {
  display: flex;
  gap: 6px;
}
/* Plain icon buttons — no dark circle */
.author-social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  display: grid; place-items: center;
  color: #6b7280;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.author-social-btn:hover { background: #f3f4f6; color: #111; }

/* ── SIDEBAR ── */
.post-sidebar {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}
.post-sidebar::-webkit-scrollbar { display: none; }

.sidebar-widget {
  background: #f5f5f5;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
}
.sidebar-widget-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.sidebar-widget-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  font-family: 'Inter', sans-serif;
}
.sidebar-view-all {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Inter', sans-serif;
}
.sidebar-view-all:hover { text-decoration: underline; }

/* Authors */
.sidebar-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-author:not(:first-child) { border-top: 1px solid #e5e7eb; }
.sidebar-author:hover { background: #e5e5e5; }
.sidebar-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-author-name { font-size: 14px; font-weight: 600; color: #111; font-family: 'Inter', sans-serif; }
.sidebar-author-role { font-size: 12px; color: #9ca3af; margin-top: 2px; font-family: 'Inter', sans-serif; }

/* Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
}
.sidebar-tag {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s;
  background: #fff;
}
.sidebar-tag:hover { background: #e5e5e5; border-color: transparent; }

/* Categories */
.sidebar-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-cat:not(:first-child) { border-top: 1px solid #e5e7eb; }
.sidebar-cat:hover { background: #e5e5e5; }
.sidebar-cat img {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-cat-name { font-size: 14px; font-weight: 600; color: #111; font-family: 'Inter', sans-serif; }
.sidebar-cat-count { font-size: 12px; color: #9ca3af; margin-top: 2px; font-family: 'Inter', sans-serif; }

/* Popular posts */
.sidebar-post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-post:not(:first-child) { border-top: 1px solid #e5e7eb; }
.sidebar-post:hover { background: #e5e5e5; }
.sidebar-post-info { flex: 1; min-width: 0; }
.sidebar-post-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.sidebar-post-author img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.sidebar-post-author span { font-size: 12px; color: #6b7280; font-family: 'Inter', sans-serif; }
.sidebar-post-dot { color: #d1d5db; }
.sidebar-post-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-post-thumb {
  width: 80px; height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  aspect-ratio: 1;
}

@media (max-width: 1024px) {
  .post-body { flex-direction: column; }
  .post-content { padding-right: 0; }
  .post-sidebar { width: 100%; max-width: 100%; position: static; max-height: none; }
}
@media (max-width: 768px) {
  .post-title { font-size: 32px; }
}

@media (max-width: 540px) {
  .post-container { padding: 24px 16px 0; }
  .post-title { font-size: 24px; }
  .post-actions { display: none; }
}
