/* article-components.css — wallprintgear.com
 * Article body content elements. Brand #F97316. */

.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 110px;
  font-family: 'Archivo','Inter Tight',system-ui,sans-serif;
  color: #0F172A;
  line-height: 1.25;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.85rem;
}

.article-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.6rem 0 0.7rem;
}

.article-content p {
  margin: 0 0 1.15rem;
}

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

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

/* ---- Tables ---- */
.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.75rem 0;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.95rem;
}

.article-content thead th {
  background: #0B1220;
  color: #ffffff;
  font-family: 'Archivo','Inter Tight',system-ui,sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 0.8rem 1rem;
}

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

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

/* ---- Blockquote ---- */
.article-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.35rem;
  border-left: 4px solid #F97316;
  background: #F8FAFC;
  border-radius: 0 14px 14px 0;
  color: #0F172A;
}

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

/* ---- Code ---- */
.article-content code {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
  color: #EA580C;
}

.article-content pre {
  background: #0B1220;
  color: #E5E7EB;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  overflow-x: auto;
  margin: 1.75rem 0;
}

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

/* ---- Divider ---- */
.article-content hr {
  border: 0;
  border-top: 1px solid #E2E8F0;
  margin: 2.5rem 0;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #0B1220 0%, #1E293B 100%);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
  color: #ffffff;
}

.cta-banner-title {
  font-family: 'Archivo','Inter Tight',system-ui,sans-serif;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.cta-banner-body {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.4rem;
  font-size: 1rem;
  line-height: 1.65;
}

.cta-banner-button {
  display: inline-block;
  background: #F97316;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(249,115,22,.30);
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-banner-button:hover {
  background: #EA580C;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ---- Responsive: mobile table scroll ---- */
@media (max-width: 768px) {
  .article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cta-banner {
    padding: 2rem 1.25rem;
  }
}
