.post-hero {
  background: var(--navy);
  padding: 64px 0 0;
}

.post-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-category {
  display: inline-block;
  background: rgba(79, 110, 247, .2);
  color: var(--indigo-lt);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.post-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-chip-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: white;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-chip-name {
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

.author-chip-date {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.post-meta-item {
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
}

.post-cover {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: 360px;
  background: linear-gradient(135deg, #1a2555, var(--indigo), var(--teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-body {
  padding-top: 48px;
}

.post-body .intro {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-100);
}

.post-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.post-body h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--navy);
}

.post-body p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: .97rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 20px 24px;
}

.post-body li {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 8px;
  font-size: .97rem;
}

.post-body strong {
  color: var(--navy);
}

.post-stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.post-stat {
  text-align: center;
}

.post-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.post-stat-num em {
  color: var(--indigo);
  font-style: normal;
}

.post-stat-label {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.post-quote {
  text-align: center;
  padding: 32px;
  background: var(--navy);
  border-radius: var(--radius);
  color: white;
  margin: 32px 0;
}

.post-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 16px;
}

.post-quote cite {
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.post-tags a {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 100px;
  transition: all .2s;
}

.post-tags a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.author-bio {
  display: flex;
  gap: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-bio .h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
  color: #024cca;
}

.author-bio .role {
  font-size: .82rem;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 10px;
}

.author-bio p {
  font-size: .9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.7;
}

.related-posts {
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}

.related-posts h3 {
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.related-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--gray-100);
  transition: border-color .2s;
}

.related-card:hover {
  border-color: var(--indigo);
}

.related-card .tag {
  margin-bottom: 8px;
}

.related-card h4 {
  font-size: .95rem;
  line-height: 1.4;
}

.related-card h4 a {
  color: var(--navy);
  transition: color .2s;
}

.related-card h4 a:hover {
  color: var(--indigo);
}

/* Sidebar */
.cta-sidebar .btn-sm {
    background: #fff !important;
    border-color: #fff !important;
	border-radius: 24px;
    padding: 10px;
    color: #000;
    font-weight: 600;
}
.cta-sidebar .btn-sm:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
	color: #fff;
}
.post-sidebar {
  padding-top: 48px;
}

.sidebar-toc {
  position: sticky;
  top: 88px;
}

.toc-block {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.toc-block h5 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list li a {
  font-size: .88rem;
  color: var(--gray-600);
  transition: color .2s;
}

.toc-list li a:hover {
  color: var(--indigo);
}

.share-block {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.share-block h5 {
  color: white;
  font-size: .9rem;
  margin-bottom: 16px;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  padding: 10px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transition: opacity .2s;
}

.share-btn:hover {
  opacity: .85;
}

.cta-sidebar {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}

.cta-sidebar h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 8px;
}

.cta-sidebar p {
  color: rgba(255, 255, 255, .8);
  font-size: .82rem;
  margin-bottom: 16px;
}

.post-hero .post-cover img {
  border-radius: 24px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

@media(max-width:1024px) {
  .post-layout {
    grid-template-columns: 1fr
  }

  .post-sidebar {
    display: none
  }
}

@media(max-width:600px) {
  .related-grid {
    grid-template-columns: 1fr
  }

  .post-stat-block {
    grid-template-columns: 1fr
  }
}