/* BelgiIPTV editorial article system — scoped to WordPress posts only. */
.single-post-page {
  --article-width: 880px;
  padding-bottom: clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 50% 0%, rgba(23, 167, 196, .10), transparent 34rem),
    var(--bg);
}

.article-hero {
  max-width: 1120px;
  padding-top: clamp(34px, 6vw, 76px);
  padding-bottom: clamp(28px, 5vw, 54px);
  text-align: center;
}

.article-breadcrumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 14px;
}

.article-breadcrumbs a:hover { color: var(--cyan-accent); }

.article-category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(77, 227, 242, .28);
  border-radius: var(--radius-pill);
  background: rgba(23, 167, 196, .10);
  color: var(--cyan-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 1040px;
  margin: 0 auto 22px;
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.article-featured {
  max-width: 1280px;
  margin: 0 auto clamp(42px, 7vw, 82px);
}

.article-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border-light);
  border-radius: clamp(16px, 2.3vw, 28px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.article-shell { max-width: calc(var(--article-width) + clamp(32px, 8vw, 160px)); }
.article-content { max-width: var(--article-width); margin-inline: auto; }

.article-content > * { max-width: 100%; }

.article-content p,
.article-content li {
  color: #c3cee0;
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  line-height: 1.82;
}

.article-content p { margin: 0 0 1.45em; }
.article-content ul,
.article-content ol { margin: 0 0 1.6em; padding-left: 1.35em; }
.article-content li + li { margin-top: .55em; }
.article-content li::marker { color: var(--cyan-accent); font-weight: 800; }

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

.article-content h2 {
  margin: clamp(52px, 8vw, 78px) 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.16;
}

.article-content h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--grad-cyan);
}

.article-content h3 {
  margin: 38px 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.28;
}

.article-content a {
  color: var(--cyan-accent);
  text-decoration: underline;
  text-decoration-color: rgba(77, 227, 242, .4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-content a:hover { color: #fff; text-decoration-color: var(--cyan-accent); }

.article-content .article-intro {
  margin: 0 0 clamp(34px, 5vw, 54px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(77, 227, 242, .20);
  border-left: 4px solid var(--cyan-accent);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(23, 167, 196, .11), rgba(47, 111, 224, .06));
  color: var(--text-main);
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

.article-content .article-toc {
  margin: 0 0 clamp(46px, 7vw, 70px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--grad-card);
  box-shadow: var(--shadow-sm);
}

.article-content .article-toc > p {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.1rem;
}

.article-content .article-toc ol { margin-bottom: 0; }
.article-content .article-toc a { color: #b9c8dd; text-decoration: none; }
.article-content .article-toc a:hover { color: var(--cyan-accent); }

.article-content table {
  width: 100%;
  margin: 28px 0 42px;
  border-spacing: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  overflow: hidden;
}

.article-content th,
.article-content td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-content th { background: rgba(23, 167, 196, .13); color: #fff; }
.article-content tr:last-child td { border-bottom: 0; }

.article-content blockquote {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--purple-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-card);
}

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

.article-content .article-faq,
.article-content .article-cta,
.article-content .related-content {
  margin-top: clamp(54px, 8vw, 84px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--grad-card);
}

.article-content .article-faq h2,
.article-content .article-cta h2,
.article-content .related-content h2 { margin-top: 0; }

.article-content .article-faq h3 {
  margin-top: 28px;
  color: var(--text-main);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.article-content .article-cta {
  border-color: rgba(77, 227, 242, .28);
  background: linear-gradient(135deg, rgba(23, 167, 196, .16), rgba(47, 111, 224, .12));
  text-align: center;
}

.article-content .article-cta h2::after { margin-inline: auto; }
.article-content .article-cta p:last-child { margin-bottom: 0; }
.article-content .related-content ul { margin-bottom: 0; }

@media (max-width: 700px) {
  .article-hero { text-align: left; }
  .article-breadcrumbs,
  .article-meta { justify-content: flex-start; }
  .article-breadcrumbs { margin-bottom: 22px; }
  .article-hero h1 { font-size: clamp(2.05rem, 10.5vw, 3.2rem); }
  .article-featured { padding-inline: 16px; margin-bottom: 42px; }
  .article-content p,
  .article-content li { font-size: 1rem; line-height: 1.75; }
  .article-content .article-intro,
  .article-content .article-toc,
  .article-content .article-faq,
  .article-content .article-cta,
  .article-content .related-content { padding: 20px; border-radius: 14px; }
  .article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-content th,
  .article-content td { min-width: 150px; padding: 13px; }
}
