/* ═══════════════════════════════════════════════════════
   GIGA IPTV — Blog styles
═══════════════════════════════════════════════════════ */

.blog-post { padding: 2rem 0 5rem; }
.blog-container { max-width: 780px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--text-dim); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--text-muted); }

/* Post header */
.post-header { margin-bottom: 2.5rem; }
.post-header .blog-card-cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); display: inline-block; margin-bottom: .75rem; }
.post-header h1 { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }
.post-meta { display: flex; gap: 1.25rem; font-size: .82rem; color: var(--text-dim); flex-wrap: wrap; }

/* Post body */
.post-body { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }
.post-lead { font-size: 1.1rem; color: var(--text); line-height: 1.7; margin-bottom: 2rem; padding-left: 1rem; border-left: 3px solid var(--accent); }
.post-body h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 2.5rem 0 1rem; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 2rem 0 .75rem; }
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body li { color: var(--text-muted); line-height: 1.7; }
.post-body strong { color: var(--text); font-weight: 700; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(240,165,0,.3); }
.post-body a:hover { color: var(--accent-dark); }

/* Table */
.post-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
.post-table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.post-table-wrap th { background: var(--bg-3); color: var(--text); font-weight: 700; padding: .75rem 1rem; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; }
.post-table-wrap td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.post-table-wrap tr:last-child td { border-bottom: none; }
.post-table-wrap tr:hover td { background: var(--bg-2); }

/* Info box */
.post-info-box { background: rgba(240,165,0,.06); border: 1px solid rgba(240,165,0,.2); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.post-info-box p { margin: 0; color: var(--text-muted); }
.post-info-box strong { color: var(--accent); }

/* CTA box */
.post-cta { background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); border: 1px solid rgba(240,165,0,.2); border-radius: var(--radius); padding: 2rem; text-align: center; margin: 2.5rem 0 1rem; }
.post-cta p { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 1.25rem; }
.post-cta .btn { margin: .35rem; }

/* Post nav */
.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Step cards */
.post-steps { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.post-step { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.step-num { width: 32px; height: 32px; background: var(--accent); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; flex-shrink: 0; }
.step-body strong { display: block; color: var(--text); font-weight: 700; margin-bottom: .25rem; }
.step-body p { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .post-header h1 { font-size: 1.5rem; }
  .blog-post { padding: 1.5rem 0 3rem; }
  .post-cta .btn { width: 100%; max-width: 280px; display: flex; justify-content: center; }
  .post-nav { flex-direction: column; }
  .post-nav .btn { width: 100%; text-align: center; justify-content: center; }
}
