/* Shared article component styles */
/* Created automatically by post-optimizer. */

.article-toc,
.related-posts-section,
.cta-banner,
.article-body,
.article-content {
  box-sizing: border-box;
}

.article-content {
  color: #3d352b;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content > *:last-child {
  margin-bottom: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content table,
.article-content blockquote,
.article-content pre,
.article-content figure {
  margin: 0 0 1.5rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
}

.article-content li + li {
  margin-top: 0.55rem;
}

.article-content ul li::marker {
  color: #c59d35;
}

.article-content ol li::marker {
  font-weight: 700;
  color: #8d6c14;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 110px;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f1a14;
}

.article-content h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2f261d;
}

.article-content blockquote {
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #c59d35;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, #fff9ea 0%, #f7f1e2 100%);
  color: #514536;
  font-style: italic;
  box-shadow: 0 10px 30px rgba(31, 26, 20, 0.08);
}

.article-content blockquote > *:last-child {
  margin-bottom: 0;
}

.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(36, 28, 17, 0.08);
}

.article-content thead th {
  padding: 0.95rem 1rem;
  background: #1f1a14;
  color: #fff7e6;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: top;
}

.article-content tbody td {
  padding: 0.95rem 1rem;
  border-top: 1px solid #efe6d5;
  vertical-align: top;
}

.article-content tbody tr:nth-child(even) td {
  background: #fcf8ef;
}

.article-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #e8dcc6;
}

.article-content figure {
  text-align: center;
}

.article-content figcaption {
  margin-top: 0.85rem;
  color: #74695c;
  font-size: 0.92rem;
}

.article-content pre,
.article-content code,
.article-content kbd {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.article-content code,
.article-content kbd {
  padding: 0.16rem 0.4rem;
  border-radius: 6px;
  background: #f4ede0;
  color: #5f4114;
  font-size: 0.92em;
}

.article-content pre {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #1c1814;
  color: #f8f3e8;
  overflow-x: auto;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.article-content .video-container,
.article-content .table-responsive {
  margin: 1.75rem 0;
}

@media (max-width: 767.98px) {
  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .article-content thead th,
  .article-content tbody td {
    padding: 0.85rem 0.9rem;
  }
}
