.post-breadcrumbs {
  background: var(--offwhite);
  border-bottom: 1px solid var(--stone);
  padding: 14px 0;
}

.post-breadcrumbs nav {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.post-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.post-breadcrumbs a:hover {
  color: var(--gold);
}

.post-breadcrumbs .sep {
  margin: 0 8px;
  color: #aaa;
}

.post-breadcrumbs .current {
  color: var(--body-text);
}

.post-hero {
  width: 100%;
  max-height: 720px;
  overflow: hidden;
  background: var(--navy);
  display: block;
}

.post-hero img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.post-hero-placeholder {
  width: 100%;
  height: 720px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 60%, #0d2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.post-hero-placeholder span {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(200, 164, 90, 0.6);
  position: relative;
  z-index: 1;
}

.post-header {
  padding: 40px 0 0;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 0;
}

.post-header-inner {
  max-width: 820px;
}

.post-cat-pill {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 164, 90, 0.1);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-decoration: none;
}

.post-cat-pill:hover {
  background: rgba(200, 164, 90, 0.18);
}

.post-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  border-top: 1px solid var(--stone);
  flex-wrap: wrap;
  gap: 16px;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.post-read-time {
  font-size: 12px;
  color: #888;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}

.share-btn:hover {
  border-color: var(--gold);
  background: var(--offwhite);
}

.share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.article-wrap {
  padding: 48px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.article-rail {
  position: sticky;
  top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toc-block {
  border: 1px solid var(--stone);
  border-radius: 8px;
  overflow: hidden;
}

.toc-header {
  background: var(--offwhite);
  padding: 14px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--stone);
}

.toc-list {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}

.toc-list li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--body-text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.toc-list li a:hover {
  color: var(--navy);
  background: var(--offwhite);
  border-left-color: var(--stone);
}

.toc-list li a.toc-active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--gold);
  background: rgba(200, 164, 90, 0.05);
}

.toc-list li.toc-h3 a {
  padding-left: 32px;
  font-size: 12px;
  color: #777;
}

.toc-list li.toc-h3 a:hover,
.toc-list li.toc-h3 a.toc-active {
  color: var(--navy);
}

.rail-cta {
  background: var(--navy);
  padding: 24px 22px;
  border-radius: 8px;
}

.rail-cta-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.rail-cta-headline {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.rail-cta-body {
  font-size: 13px;
  line-height: 1.6;
  color: #a8b5c7;
  margin-bottom: 18px;
}

.btn-rail-cta {
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 18px;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-rail-cta:hover {
  background: #d4b36a;
}

.article-content {
  min-width: 0;
}

.article-content p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 2;
  color: var(--body-text);
}

.article-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 56px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--stone);
  scroll-margin-top: 40px;
}

.article-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 14px;
  scroll-margin-top: 40px;
}

.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s;
}

.article-content a:hover {
  color: var(--gold);
}

.article-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--offwhite);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
  font-size: 19px;
  line-height: 1.7;
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 10px;
}

.article-content blockquote cite {
  font-size: 13px;
  font-style: normal;
  color: #888;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.article-content ul {
  list-style: none;
  padding-left: 0;
}

.article-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 18px;
  line-height: 2;
  color: var(--body-text);
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.article-content ol {
  counter-reset: ol-counter;
  list-style: none;
  padding-left: 0;
}

.article-content ol li {
  counter-increment: ol-counter;
  padding: 6px 0 6px 36px;
  position: relative;
  font-size: 18px;
  line-height: 2;
}

.article-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.article-content strong {
  color: var(--navy);
  font-weight: 700;
}

.article-content .callout-box,
.article-content .wp-block-group.callout-box {
  background: var(--offwhite);
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 32px 0;
}

.article-content .callout-box-label {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-content .callout-box p,
.article-content .wp-block-group.callout-box p {
  font-size: 16px !important;
  margin-bottom: 0 !important;
  color: var(--navy) !important;
}

.article-content figure,
.article-content .wp-block-image {
  margin: 40px 0;
}

.article-content figure img,
.article-content .wp-block-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
  border: 1px solid var(--stone);
}

.article-content figcaption,
.article-content .wp-element-caption {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.article-content .wp-block-separator,
.article-content .post-divider {
  border: none;
  border-top: 1px solid var(--stone);
  margin: 48px 0;
  opacity: 1;
}

.author-box {
  background: var(--offwhite);
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 56px;
}

.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy);
}

.author-box-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-box-label {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.author-box-name {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.author-box-role {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  margin-bottom: 14px;
}

.author-box-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 16px;
}

.author-box-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--stone);
  padding: 6px 14px;
  border-radius: 6px;
  transition: border-color 0.15s, color 0.15s;
}

.author-box-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.related-posts {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--stone);
}

.related-posts-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.related-posts-title {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.related-posts-cat {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.related-card:hover {
  box-shadow: 0 4px 20px rgba(15, 45, 82, 0.08);
  border-color: #d0c8bc;
  transform: translateY(-2px);
}

.related-card-cat {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.related-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

.related-card-link {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.related-card-link::after {
  content: '->';
}

.toc-mobile {
  display: none;
  margin-bottom: 32px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  overflow: hidden;
}

.toc-mobile summary {
  background: var(--offwhite);
  padding: 14px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--stone);
}

.toc-mobile summary::after {
  content: 'v';
  font-size: 14px;
  color: var(--gold);
}

.toc-mobile[open] summary::after {
  content: '^';
}

.toc-mobile ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.toc-mobile ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--body-text);
  text-decoration: none;
}

.toc-mobile ul li a:hover {
  color: var(--navy);
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
  }

  .toc-block {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-title {
    font-size: 30px;
  }
}

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

  .author-box {
    flex-direction: column;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding: 0 20px;
  }

  .article-content h2 {
    font-size: 22px;
  }

  .article-content h3 {
    font-size: 18px;
  }
}
