/* ── ZiacPay Blog – Shared Stylesheet ── */
/**, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*/
:root {
  --primary: #1A56DB;
  --primary-dark: #1246C0;
  --primary-light: #EBF2FF;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --dark: #111827;
  --text: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --white: #FFFFFF;
  --green: #D1FAE5; --green-text: #065F46;
  --blue: #DBEAFE;  --blue-text: #1E40AF;
  --orange: #FEE2E2;--orange-text: #9B1C1C;
  --purple: #EDE9FE;--purple-text: #5B21B6;
  --teal: #CCFBF1;  --teal-text: #0F766E;
  --nav-h: 68px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(26,86,219,0.15);
}
/*html, body {
    max-width: 100%;
    overflow-x: hidden;
}*/

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h); display: flex; align-items: center;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--primary); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--accent); }
.logo-icon {
  width: 32px; height: 32px; background: var(--primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; fill: none; stroke: white; stroke-width: 2; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  text-decoration: none; font-size: 0.875rem; font-weight: 500;
  color: var(--primary); padding: 8px 16px; border-radius: 8px;
  border: 1.5px solid var(--primary); transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--primary); color: white; }
.btn-primary {
  text-decoration: none; font-size: 0.875rem; font-weight: 600;
  background: var(--primary); color: white; padding: 9px 20px; border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; flex-wrap: wrap; }
.breadcrumb-inner a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner .sep { color: var(--border); }
.breadcrumb-inner .current { color: var(--text); font-weight: 500; }

/* ── POST HERO ── */
.post-hero {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(160deg, #0F2559 0%, #1A56DB 100%);
    padding: 56px 24px 0;
}
.post-hero-inner { max-width: 840px; margin: 0 auto; }
.post-tags { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.post-tag {
  font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-hero-blue { background: rgba(219,234,254,0.2); color: #BFDBFE; border: 1px solid rgba(191,219,254,0.3); }
.tag-hero-amber { background: rgba(254,243,199,0.15); color: #FDE68A; border: 1px solid rgba(253,230,138,0.3); }
.tag-hero-green { background: rgba(209,250,229,0.15); color: #A7F3D0; border: 1px solid rgba(167,243,208,0.3); }

.post-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: white; font-weight: 800; line-height: 1.2; margin-bottom: 20px;
}
.post-hero-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.author-block { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 600; color: white; }
.author-role { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.meta-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }
.meta-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.meta-item svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-img-wrapper { border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -8px 40px rgba(0,0,0,0.2); max-height: 420px; }
.hero-img-wrapper img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ── CONTENT LAYOUT ── */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 60px;
    align-items: start;
}

/* ── ARTICLE BODY ── */
.article-body {
    padding: 48px 0 80px;
    min-width: 0;
}
.share-inline {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.share-inline span { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.share-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; background: white;
  text-decoration: none; color: var(--muted);
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.share-btn svg { width: 14px; height: 14px; fill: currentColor; }
.share-btn.copy-btn { font-size: 0.65rem; font-weight: 700; }

/* Article typography */
.article-body h2 {
  font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--dark); margin: 44px 0 16px; line-height: 1.3;
  padding-top: 44px; border-top: 1px solid var(--border);
}
.article-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 {
  font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600;
  color: var(--dark); margin: 28px 0 12px;
}
.article-body p { margin-bottom: 20px; font-size: 1.02rem; line-height: 1.78; }
.article-body strong { font-weight: 600; color: var(--dark); }
.article-body ul, .article-body ol { margin: 16px 0 24px 1px; }
.article-body li { margin-bottom: 10px; font-size: 1rem; line-height: 1.65; }

/* Callout */
.callout {
  background: var(--primary-light); border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 28px 0;
}
.callout.amber { background: #FFFBEB; border-left-color: var(--accent); }
.callout.green { background: #F0FDF4; border-left-color: #059669; }
.callout p { margin: 0; font-size: 0.95rem; }
.callout-title {
  font-weight: 700; color: var(--primary); margin-bottom: 6px;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.callout.amber .callout-title { color: #92400E; }
.callout.green .callout-title { color: #065F46; }

/* Blockquote */
.article-body blockquote {
  background: var(--bg); border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 28px 0;
  font-style: italic; color: var(--text);
}
.article-body blockquote strong { color: var(--primary); }

/* Table */
.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
th, td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
thead { background: var(--dark); }
thead th {
  text-align: left; padding: 13px 18px; color: white;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 13px 18px; font-size: 0.9rem; vertical-align: top; line-height: 1.5; }
.td-new { color: var(--primary); font-weight: 500; }
.td-badge { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-blue { background: #DBEAFE; color: #1E40AF; }

/* Steps */
.steps-list { margin: 20px 0; }
.step-item {
  display: flex; gap: 16px; margin-bottom: 16px;
  padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
}
.step-num {
  width: 36px; height: 36px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.step-content h4 { font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.95rem; }
.step-content p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Internal link box */
.link-box {
  background: var(--primary-light); border: 1px solid #C7D7F9;
  border-radius: 10px; padding: 16px 20px; margin: 24px 0;
  display: flex; align-items: center; gap: 12px;
}
.link-box-icon {
  width: 36px; height: 36px; background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.link-box-icon svg { width: 16px; height: 16px; fill: none; stroke: white; stroke-width: 2; }
.link-box-text { font-size: 0.875rem; color: var(--text); flex: 1; }
.link-box-text strong { color: var(--dark); }
.link-box a {
  color: var(--primary); font-weight: 600; font-size: 0.8rem;
  text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.link-box a svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.stat-card {
  background: linear-gradient(135deg, #EBF2FF, #F0F7FF);
  border: 1px solid #C7D7F9; border-radius: 10px; padding: 20px; text-align: center;
}
.stat-num {
  font-family: 'Sora', sans-serif; font-size: 1.7rem; font-weight: 800;
  color: var(--primary); display: block; line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 6px; display: block; }

/* ── Feature list ── */
.feature-list {
    list-style: none;
    margin: 18px 0 26px;
    padding: 0;
}

    .feature-list li {
        position: relative;
        padding-left: 34px;
        margin-bottom: 14px;
        font-size: 0.96rem;
        line-height: 1.65;
    }

        /* icon */
        .feature-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 4px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 11px;
        }
@media (max-width:768px) {

    .feature-list li {
        padding-left: 30px;
        font-size: 0.92rem;
    }

        .feature-list li::before {
            width: 18px;
            height: 18px;
            background-size: 9px;
        }
}


/* Author bio */
.author-bio {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; margin: 48px 0 40px;
  display: flex; gap: 20px;
}
.author-bio-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-bio h4 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.author-bio .role { font-size: 0.8rem; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.author-bio p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ── SIDEBAR ── */
.sidebar { padding: 48px 0 80px; }
.sidebar-widget {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  margin-bottom: 24px; box-shadow: var(--shadow);
}
.widget-title {
  font-family: 'Sora', sans-serif; font-size: 0.9rem; font-weight: 700;
  color: var(--dark); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.widget-title svg { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 8px; }
.toc-list a {
  text-decoration: none; font-size: 0.82rem; color: var(--muted);
  transition: color 0.2s; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.toc-list a:hover { color: var(--primary); }
.toc-list a::before { content: '→'; flex-shrink: 0; font-size: 0.75rem; margin-top: 1px; }

/* CTA widget */
.cta-widget { background: linear-gradient(135deg, #0F2559, #1A56DB); border: none; }
.cta-widget .widget-title { border-bottom-color: rgba(255,255,255,0.2); color: white; }
.cta-widget .widget-title svg { stroke: var(--accent); }
.cta-widget p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.6; }
.cta-widget-btn {
  display: block; background: var(--accent); color: var(--dark);
  text-decoration: none; text-align: center; font-weight: 700; font-size: 0.875rem;
  padding: 12px; border-radius: 8px; transition: background 0.2s, transform 0.15s; margin-bottom: 8px;
}
.cta-widget-btn:hover { background: #E08E00; transform: translateY(-1px); }
.cta-widget-secondary {
  display: block; text-align: center; font-size: 0.78rem;
  color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s;
}
.cta-widget-secondary:hover { color: white; }

/* Recent posts */
.recent-post { display: flex; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.recent-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-thumb { width: 56px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title { font-size: 0.8rem; font-weight: 500; color: var(--dark); line-height: 1.4; margin-bottom: 4px; }
.recent-title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.recent-title a:hover { color: var(--primary); }
.recent-date { font-size: 0.72rem; color: var(--muted); }

/* Tags cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  font-size: 0.75rem; font-weight: 500; border: 1.5px solid var(--border);
  border-radius: 6px; padding: 5px 12px; color: var(--muted);
  text-decoration: none; transition: all 0.2s;
}
.tag-pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── RELATED POSTS ── */
.related-section { background: var(--bg); padding: 56px 24px; border-top: 1px solid var(--border); }
.related-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.related-inner h2 { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.3s, transform 0.3s;
}
.related-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.related-img { height: 170px; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-body { padding: 18px 20px; }
.related-tag { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); margin-bottom: 8px; display: block; }
.related-body h3 { font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 12px; }
.related-meta { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.related-meta a { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.78rem; }
.related-meta a:hover { text-decoration: underline; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #0A1628 0%, #0F2559 50%, #1A56DB 100%);
  padding: 72px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-badge {
  display: inline-block; background: rgba(245,158,11,0.2);
  border: 1px solid rgba(245,158,11,0.4); color: var(--accent);
  font-size: 0.78rem; font-weight: 600; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase;
}
.cta-section h2 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: white; font-weight: 800; margin-bottom: 16px; line-height: 1.2;
}
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary {
  background: var(--accent); color: var(--dark); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; padding: 14px 28px; border-radius: 8px;
  transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.cta-btn-primary:hover { background: #E08E00; transform: translateY(-2px); }
.cta-btn-ghost {
  background: rgba(255,255,255,0.1); color: white; text-decoration: none;
  font-weight: 600; font-size: 0.9rem; padding: 14px 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25); transition: background 0.2s;
}
.cta-btn-ghost:hover { background: rgba(255,255,255,0.18); }
.cta-trust { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-top: 20px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: #9CA3AF; padding: 48px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 12px; display: block; text-decoration: none; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; color: #9CA3AF; font-size: 0.83rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
/*.footer-bottom { border-top: 1px solid #1F2937; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; }*/

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .content-wrapper { grid-template-columns: 1fr; gap: 0; }
  .sidebar { padding-top: 0; border-top: 1px solid var(--border); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .related-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .author-bio { flex-direction: column; }
  .post-hero-meta { gap: 12px; }
  .meta-divider { display: none; }
  .hero-img-wrapper img { height: 260px; }
    .content-wrapper {
        padding: 0 16px;
    }

    .post-hero {
        padding: 48px 16px 0;
    }

    .breadcrumb-bar {
        padding: 12px 16px;
    }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
/*  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } */  
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .link-box { flex-direction: column; }
}


/*Mobile View Fix for blog2*/
/* ── Responsive ── */
@media (max-width: 1024px) {
    .bp-layout {
        grid-template-columns: 1fr;
    }

    .bp-sidebar {
        position: static;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .bp-hero {
        padding: 40px 16px 0;
    }

    .bp-hero-title {
        font-size: 1.4rem;
    }

    .stats-row {
        grid-template-columns: repeat(2,1fr);
    }

    .bp-post-nav {
        flex-direction: column;
    }

    .bp-nav-link {
        max-width: 100%;
    }
}
/*Mobile View Fix for blog4*/
/* ── Responsive ── */
@media (max-width: 1024px) {
    .bp-layout {
        grid-template-columns: 1fr;
    }

    .bp-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .bp-hero {
        padding: 40px 16px 0;
    }

    .bp-hero-title {
        font-size: 1.4rem;
    }

    .bp-hero-meta {
        gap: 10px;
    }

    .bp-meta-divider {
        display: none;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-layout {
        padding: 24px 16px 40px;
        gap: 24px;
    }

    .bp-post-nav {
        flex-direction: column;
        gap: 12px;
    }

    .bp-nav-link {
        max-width: 100%;
    }

    .table-wrapper {
        font-size: 0.8rem;
    }

        .table-wrapper th,
        .table-wrapper td {
            padding: 8px 10px;
        }

    .author-bio {
        flex-direction: column;
    }

    .bp-breadcrumb {
        padding: 12px 24px !important;
        margin-top: 82px !important;
    }

    .step-item {
        padding: 14px 12px;
        gap: 12px;
    }

    .callout {
        padding: 14px 16px;
    }

    .article-body h2 {
        font-size: 1.25rem;
    }

    .article-body h3 {
        font-size: 1.05rem;
    }

    .article-body p,
    .article-body li {
        font-size: 0.92rem;
    }

    .bp-cta {
        padding: 48px 16px;
    }

    .bp-cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .bp-cta-primary,
    .bp-cta-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .bp-hero-title {
        font-size: 1.25rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}
