/* Single article & static page typography (v2 Ink Navy Editorial) */
.article-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 1024px) {
  .article-shell {
    grid-template-columns: 1fr 330px;
    gap: 48px;
  }
}

.article-main {
  max-width: 740px;
}

.article-main .cat-pill {
  display: inline-block;
  background: var(--panel);
  color: var(--blue-accessible);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.article-main h1 {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 24ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-muted);
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.article-meta strong {
  color: var(--navy);
  font-weight: 600;
}

.article-hero {
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  margin-bottom: 26px;
  border: 1px solid var(--border);
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.toc-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
  max-width: 68ch;
}

.toc-box h2 {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 12px;
}

.toc-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.toc-box li.toc-sub {
  padding-left: 14px;
  font-weight: 500;
}

.toc-box a {
  color: var(--blue-accessible);
}

.toc-box a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.entry-content {
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.72;
  color: var(--ink-body);
  max-width: 68ch;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content h2 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.28;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 14px;
  scroll-margin-top: 100px;
}

.entry-content h3 {
  font-size: clamp(18.5px, 1.5vw, 21px);
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 12px;
  scroll-margin-top: 100px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 20px 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  background: var(--panel);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.68;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content figure {
  margin: 24px 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 8px;
  text-align: center;
}

.entry-content a {
  color: var(--blue-accessible);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover {
  color: var(--navy);
}

.entry-content img {
  border-radius: 8px;
  margin: 20px auto;
}

.entry-content iframe,
.entry-content video {
  max-width: 100%;
  border-radius: 8px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Internal Prev / Next Article Navigation */
.article-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .article-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.article-nav-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}

.article-nav-card:hover {
  border-color: var(--sky);
}

.article-nav-dir {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-accessible);
  margin-bottom: 4px;
}

.article-nav-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy);
}

.article-nav-next {
  text-align: right;
}

/* Sticky Sidebar in Single Article */
.sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (min-width: 1024px) {
  .sidebar-sticky {
    position: sticky;
    top: 104px;
  }
}

.rel-mini {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.rel-mini.no-thumb {
  grid-template-columns: 1fr;
}

.rel-mini:first-of-type {
  padding-top: 0;
}

.rel-mini:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.rel-mini img {
  width: 78px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
}

.rel-mini h4 {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy);
}

.rel-mini:hover h4 {
  color: var(--blue-accessible);
}

.quick-sections {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}

.quick-sections a {
  color: var(--ink-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-sections a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

.quick-sections a:hover {
  color: var(--blue-accessible);
}

.related-section {
  margin-top: 40px;
  padding-top: 24px;
}

.comments-area,
.comment-respond {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.comment-respond a {
  color: var(--blue-accessible);
  font-weight: 600;
  text-decoration: underline;
}

.article-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.article-share-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-right: 4px;
}

.zk-share-btn {
  cursor: pointer;
}

.zk-share-feedback {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-accessible);
}

@media print {
  .article-share-bar,
  .zk-ad-slot,
  .zk-partner-slot {
    display: none !important;
  }
}
