/* Public blog pages – matches mukulagrawal.com theme */

:root {

    --mb-cyan: #19A2DD;

    --mb-cyan-soft: #EAF7FD;

    --mb-blue: #005A8E;

    --mb-navy: #1a365d;

    --mb-ink: #0c1320;

    --mb-text: #2E3A59;

    --mb-muted: #64748b;

    --mb-line: #e2e8f0;

    --mb-bg: #f7f9fc;

}



.mb-page { background: var(--mb-bg); font-family: 'Open Sans', sans-serif; color: var(--mb-text); }

.mb-page h1, .mb-page h2, .mb-page h3, .mb-page h4, .mb-page h5 { font-family: 'Manrope', sans-serif; }



/* ---------- Hero band ---------- */

.mb-hero {

    background:

        radial-gradient(circle at 88% 15%, rgba(25, 162, 221, .38), transparent 42%),

        radial-gradient(circle at 5% 110%, rgba(0, 90, 142, .45), transparent 40%),

        linear-gradient(120deg, #000 0%, #00111d 55%, #002c47 100%);

    color: #fff;

    padding: 64px 0 56px;

}

.mb-hero h1 { font-weight: 900; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.01em; margin: 0 0 10px; color: #fff; }

.mb-hero h1 span { color: var(--mb-cyan); }

.mb-hero p { color: #cbd5e1; font-size: 17px; max-width: 640px; margin: 0; }

.mb-crumb { font-size: 14px; margin-bottom: 14px; color: #94a3b8; }

.mb-crumb a { color: #cbd5e1; text-decoration: none; }

.mb-crumb a:hover { color: var(--mb-cyan); }



.mb-article-hero { padding: 48px 0 40px; }

.mb-article-hero h1 { font-size: clamp(26px, 4vw, 42px); line-height: 1.2; max-width: 960px; }

.mb-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cbd5e1; font-size: 15px; margin-top: 16px; }

.mb-meta i { color: var(--mb-cyan); margin-right: 6px; }



.mb-chip {

    display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13px;

    padding: 6px 14px; border-radius: 999px; text-decoration: none;

    background: #fff; color: var(--mb-blue); border: 1px solid var(--mb-line);

    transition: all .2s;

}

.mb-chip:hover { border-color: var(--mb-cyan); color: var(--mb-cyan); }

.mb-chip.active { background: var(--mb-cyan); border-color: var(--mb-cyan); color: #fff; }

.mb-chip-hero { background: var(--mb-cyan); color: #fff; border: 0; margin-bottom: 14px; }

.mb-chip-hero:hover { color: #fff; background: var(--mb-blue); }



/* ---------- Filters ---------- */

.mb-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 28px; }

.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.mb-search { display: flex; max-width: 360px; width: 100%; }

.mb-search input { border: 1px solid var(--mb-line); border-right: 0; border-radius: 8px 0 0 8px; padding: 10px 14px; flex: 1; min-width: 0; font-size: 15px; }

.mb-search input:focus { outline: none; border-color: var(--mb-cyan); }

.mb-search button { background: var(--mb-blue); color: #fff; border: 0; border-radius: 0 8px 8px 0; padding: 0 18px; }

.mb-search button:hover { background: var(--mb-cyan); }



/* ---------- Cards ---------- */

.mb-card {

    background: #fff; border-radius: 14px; overflow: hidden; height: 100%;

    display: flex; flex-direction: column;

    border: 1px solid var(--mb-line);

    box-shadow: 0 6px 20px rgba(26, 54, 93, .06);

    transition: transform .25s, box-shadow .25s;

}

.mb-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(26, 54, 93, .14); }

.mb-card-img { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #000; }

.mb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.mb-card:hover .mb-card-img img { transform: scale(1.05); }

.mb-card-cat {

    position: absolute; left: 12px; top: 12px; background: var(--mb-cyan); color: #fff;

    font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 6px;

}

.mb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.mb-card-date { font-size: 13px; color: var(--mb-muted); margin-bottom: 8px; }

.mb-card-date i { color: var(--mb-cyan); margin-right: 5px; }

.mb-card h2 { font-size: 19px; font-weight: 800; line-height: 1.35; margin: 0 0 10px; }

.mb-card h2 a { color: var(--mb-ink); text-decoration: none; }

.mb-card h2 a:hover { color: var(--mb-blue); }

.mb-card p { color: var(--mb-muted); font-size: 15px; line-height: 1.6; margin: 0 0 16px; flex: 1; }

.mb-read {

    align-self: flex-start; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;

    color: var(--mb-blue); text-decoration: none;

}

.mb-read i { transition: transform .2s; margin-left: 4px; }

.mb-read:hover { color: var(--mb-cyan); }

.mb-read:hover i { transform: translateX(4px); }



.mb-empty { text-align: center; padding: 60px 16px; color: var(--mb-muted); }

.mb-empty i { font-size: 42px; color: var(--mb-cyan); margin-bottom: 14px; }



.mb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px 0 64px; }

.mb-pagination a, .mb-pagination span {

    min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px;

    border-radius: 8px; font-weight: 700; text-decoration: none;

    background: #fff; border: 1px solid var(--mb-line); color: var(--mb-blue);

}

.mb-pagination a:hover { border-color: var(--mb-cyan); color: var(--mb-cyan); }

.mb-pagination .current { background: var(--mb-blue); border-color: var(--mb-blue); color: #fff; }

.mb-pagination .disabled { color: #b8c4d4; }



/* ---------- Article ---------- */

.mb-article-wrap { padding: 40px 0 64px; }

.mb-article {

    background: #fff; border-radius: 14px; border: 1px solid var(--mb-line);

    padding: 32px; box-shadow: 0 6px 20px rgba(26, 54, 93, .05);

}

@media (max-width: 575.98px) { .mb-article { padding: 20px 16px; } }

.mb-feature { width: 100%; height: auto; border-radius: 10px; margin-bottom: 24px; display: block; }

.mb-summary {

    background: var(--mb-cyan-soft); border-left: 4px solid var(--mb-cyan);

    border-radius: 8px; padding: 16px 20px; margin-bottom: 24px; font-size: 16px; line-height: 1.7;

}

.mb-summary strong { color: var(--mb-blue); font-family: 'Manrope', sans-serif; }

.mb-summary ul { margin: 8px 0 0; padding-left: 22px; }

.mb-summary li { margin-bottom: 6px; }

.mb-summary li:last-child { margin-bottom: 0; }

.mb-summary li::marker { color: var(--mb-cyan); }

.mb-audio { background: #0c1320; border-radius: 10px; padding: 14px 16px; margin-bottom: 24px; color: #fff; }

.mb-audio audio { width: 100%; margin-top: 8px; }



.mb-content { font-size: 17px; line-height: 1.8; color: var(--mb-text); overflow-wrap: break-word; }

.mb-content h2 { font-size: 26px; font-weight: 800; color: var(--mb-blue); margin: 34px 0 14px; }

.mb-content h3 { font-size: 21px; font-weight: 800; color: var(--mb-navy); margin: 28px 0 12px; }

.mb-content h4 { font-size: 18px; font-weight: 700; color: var(--mb-navy); margin: 22px 0 10px; }

.mb-content h2 a, .mb-content h3 a { color: inherit; text-decoration: none; }

.mb-content p { margin-bottom: 16px; }

.mb-content a { color: var(--mb-cyan); font-weight: 600; }

.mb-content img { max-width: 100%; height: auto; border-radius: 8px; }

.mb-content ul, .mb-content ol { padding-left: 1.4rem; margin-bottom: 18px; }

.mb-content li { margin-bottom: 6px; }

.mb-content blockquote { border-left: 4px solid var(--mb-cyan); background: var(--mb-bg); padding: 12px 18px; margin: 20px 0; font-style: italic; }

.mb-content iframe { max-width: 100%; }

.mb-table-wrap { overflow-x: auto; margin: 18px 0 24px; -webkit-overflow-scrolling: touch; }

.mb-content table { width: 100% !important; border-collapse: collapse; font-size: 15px; min-width: 480px; }

.mb-content table th { background: var(--mb-blue); color: #fff; font-family: 'Manrope', sans-serif; }

.mb-content table th, .mb-content table td { border: 1px solid var(--mb-line); padding: 10px 12px; text-align: left; }

.mb-content table tr:nth-child(even) td { background: var(--mb-cyan-soft); }



.mb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--mb-line); }

.mb-tag { background: var(--mb-bg); border: 1px solid var(--mb-line); color: var(--mb-muted); font-size: 13px; padding: 4px 12px; border-radius: 999px; }



.mb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }

.mb-share span { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--mb-ink); margin-right: 4px; }

.mb-share a {

    width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;

    background: var(--mb-ink); color: #fff; text-decoration: none; transition: background .2s;

}

.mb-share a:hover { background: var(--mb-cyan); }



.mb-faq-title { font-size: 26px; font-weight: 800; color: var(--mb-ink); margin: 40px 0 16px; }

.mb-faq-title span { color: var(--mb-cyan); }

.mb-faq .accordion-item { border: 1px solid var(--mb-line); border-radius: 10px !important; margin-bottom: 10px; overflow: hidden; }

.mb-faq .accordion-button { font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--mb-ink); font-size: 16px; }

.mb-faq .accordion-button:not(.collapsed) { background: var(--mb-cyan-soft); color: var(--mb-blue); box-shadow: none; }

.mb-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(25, 162, 221, .2); }

.mb-faq .accordion-body { line-height: 1.7; }



/* ---------- Sidebar ---------- */

.mb-widget {

    background: #fff; border-radius: 14px; border: 1px solid var(--mb-line);

    padding: 22px; margin-bottom: 22px;

}

.mb-widget h3 {

    font-size: 18px; font-weight: 800; color: var(--mb-ink);

    padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid var(--mb-cyan);

}

.mb-author { background: #000; color: #fff; border: 0; text-align: center; }

.mb-author img { width: 190px; height: auto; margin-bottom: 12px; }

.mb-author p { color: #cbd5e1; font-size: 14px; line-height: 1.6; }

.mb-author a.btn-mb {

    display: inline-block; background: var(--mb-cyan); color: #fff; font-weight: 700; text-decoration: none;

    padding: 9px 18px; border-radius: 8px; font-family: 'Manrope', sans-serif; font-size: 14px;

}

.mb-author a.btn-mb:hover { background: var(--mb-blue); }

.mb-recent { display: flex; gap: 12px; margin-bottom: 14px; text-decoration: none; }

.mb-recent:last-child { margin-bottom: 0; }

.mb-recent img { width: 88px; height: 58px; object-fit: cover; border-radius: 6px; flex: none; }

.mb-recent strong { display: block; color: var(--mb-ink); font-size: 14px; line-height: 1.35; font-family: 'Manrope', sans-serif; }

.mb-recent small { color: var(--mb-muted); font-size: 12px; }

.mb-recent:hover strong { color: var(--mb-blue); }

.mb-cat-list { list-style: none; padding: 0; margin: 0; }

.mb-cat-list li a {

    display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--mb-line);

    color: var(--mb-text); text-decoration: none; font-weight: 600;

}

.mb-cat-list li a:hover { color: var(--mb-cyan); }

.mb-cat-list li:last-child a { border-bottom: 0; }



.mb-related-title { font-size: 26px; font-weight: 800; margin: 48px 0 20px; color: var(--mb-ink); }

.mb-related-title span { color: var(--mb-cyan); }



.mb-draft-bar { background: #e8a317; color: #000; text-align: center; font-weight: 700; padding: 8px; }



.mb-top-btn {

    position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;

    background: var(--mb-cyan); color: #fff; display: none; place-items: center; z-index: 99;

    text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .2);

}

.mb-top-btn.show { display: grid; }

.mb-top-btn:hover { background: var(--mb-blue); color: #fff; }



/* ---------- Table of contents ---------- */

.mb-content h2[id], .mb-content h3[id] { scroll-margin-top: 140px; }

html { scroll-behavior: smooth; }

.mb-toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; }

.mb-toc-list li { margin: 0; }

.mb-toc-list a {

    display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--mb-line);

    color: var(--mb-text); text-decoration: none; font-size: 14px; line-height: 1.45; transition: color .15s, border-color .15s;

}

.mb-toc-list .mb-toc-h3 a { padding-left: 26px; font-size: 13px; color: var(--mb-muted); }

.mb-toc-list a:hover { color: var(--mb-cyan); }

.mb-toc-list a.active { color: var(--mb-blue); border-left-color: var(--mb-cyan); font-weight: 700; background: var(--mb-cyan-soft); }

.mb-toc .mb-toc-list { max-height: 420px; overflow-y: auto; }

.mb-toc h3 i, .mb-widget h3 i { color: var(--mb-cyan); }

.mb-toc-inline {

    background: var(--mb-cyan-soft); border: 1px solid var(--mb-line); border-radius: 10px;

    padding: 12px 16px; margin-bottom: 24px;

}

.mb-toc-inline summary { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--mb-ink); cursor: pointer; }

.mb-toc-inline summary i { color: var(--mb-cyan); }

.mb-toc-inline[open] summary { margin-bottom: 10px; }



/* ---------- Trending ---------- */

.mb-widget h3 i.mb-fire { color: #f97316; }

.mb-trend { align-items: center; }

.mb-trend img { width: 64px; height: 44px; }

.mb-rank {

    flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;

    background: var(--mb-cyan-soft); color: var(--mb-blue); font-family: 'Manrope', sans-serif; font-weight: 800;

}

.mb-trend:first-child .mb-rank { background: var(--mb-cyan); color: #fff; }



/* ---------- Ad slot (demo until AdSense ids are set) ---------- */

.mb-ad { text-align: center; }

.mb-ad-label { display: block; color: var(--mb-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

.mb-demo-ad {

    position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;

    min-height: 250px; justify-content: center; padding: 26px 20px; border-radius: 10px; text-decoration: none;

    background: linear-gradient(145deg, #0c1320 0%, #005A8E 100%); color: #cbd5e1; overflow: hidden;

}

.mb-demo-ad::after {

    content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;

    background: rgba(25, 162, 221, .25);

}

/* sits in the flex column above the icon; position:static so the generic ".mb-demo-ad span" rule can't shift it onto the icon */
.mb-demo-ad .mb-demo-ad-badge {
    position: static; z-index: 1; background: #e8a317; color: #000; font-size: 11px; font-weight: 800;

    padding: 3px 10px; border-radius: 999px; text-transform: uppercase;

}

.mb-demo-ad-icon { position: relative; z-index: 1; font-size: 34px; color: var(--mb-cyan); }

.mb-demo-ad strong { position: relative; z-index: 1; color: #fff; font-family: 'Manrope', sans-serif; font-size: 18px; line-height: 1.3; }

/* explicit colours: the card is a link, so a:visited / a span rules from style.css would otherwise tint the text */
.mb-demo-ad, .mb-demo-ad:visited, .mb-demo-ad:hover { color: #cbd5e1; }
.mb-demo-ad span { color: #dbe4ee; font-size: 13px; line-height: 1.5; position: relative; z-index: 1; }

.mb-demo-ad .mb-demo-ad-btn {

    background: var(--mb-cyan); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 8px;

    font-family: 'Manrope', sans-serif; transition: background .2s;

}

.mb-demo-ad:hover .mb-demo-ad-btn { background: #fff; color: var(--mb-blue); }



/* ---------- Author (sidebar card + end-of-post box) ---------- */

.mb-author-crop { object-fit: cover; object-position: 78% 18%; }

.mb-author-card { text-align: center; }

.mb-author-card img {

    width: 110px; height: 110px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 12px;

    border: 3px solid var(--mb-cyan-soft); box-shadow: 0 6px 18px rgba(26, 54, 93, .15);

}

.mb-author-card img.mb-author-crop { object-fit: cover; object-position: 78% 18%; }

.mb-author-card h3 { border: 0; padding: 0; margin: 0 0 4px; font-size: 20px; }

.mb-author-role { color: var(--mb-muted); font-size: 14px; margin-bottom: 14px; }

.mb-author-social { display: flex; gap: 10px; flex-wrap: wrap; }

.mb-author-card .mb-author-social { justify-content: center; margin-bottom: 14px; }

.mb-author-social a {

    width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 8px;

    border: 1px solid var(--mb-line); color: var(--mb-text); text-decoration: none; font-size: 16px; transition: all .2s;

}

.mb-author-social a:hover { background: var(--mb-cyan); border-color: var(--mb-cyan); color: #fff; }

.mb-author-link { color: var(--mb-blue); font-weight: 700; font-size: 14px; text-decoration: none; font-family: 'Manrope', sans-serif; }

.mb-author-link:hover { color: var(--mb-cyan); }



.mb-author-box {

    display: flex; gap: 28px; align-items: flex-start; margin-top: 28px; padding: 30px;

    background: #fff; border: 1px solid var(--mb-line); border-radius: 14px; box-shadow: 0 6px 20px rgba(26, 54, 93, .05);

}

.mb-author-box > img {

    width: 150px; height: 180px; flex: none; border-radius: 10px; object-fit: cover;

    box-shadow: 0 8px 20px rgba(26, 54, 93, .18);

}

.mb-author-box h2 { font-size: 22px; font-weight: 800; color: var(--mb-ink); margin: 0 0 2px; }

.mb-author-box p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }

.mb-author-box .mb-author-role { font-size: 14px; margin-bottom: 12px; }

@media (max-width: 575.98px) {

    .mb-author-box { flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; }

    .mb-author-box .mb-author-social { justify-content: center; }

}



/* ---------- Comments ---------- */

.mb-comments {

    margin-top: 28px; padding: 32px; background: #fff; border: 1px solid var(--mb-line);

    border-radius: 14px; box-shadow: 0 6px 20px rgba(26, 54, 93, .05);

}

@media (max-width: 575.98px) { .mb-comments { padding: 22px 16px; } }

.mb-comments-title { font-size: 22px; font-weight: 800; color: var(--mb-ink); margin-bottom: 16px; }

.mb-comment-list { list-style: none; padding: 0; margin: 0 0 32px; }

.mb-comment-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--mb-line); }

.mb-comment-list strong { color: var(--mb-ink); font-family: 'Manrope', sans-serif; margin-right: 8px; }

.mb-comment-list small { color: var(--mb-muted); font-size: 12px; }

.mb-comment-list p { margin: 6px 0 0; line-height: 1.7; }

.mb-avatar {

    flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;

    background: var(--mb-cyan-soft); color: var(--mb-blue); font-weight: 800; font-family: 'Manrope', sans-serif;

}

.mb-form-kicker { text-align: center; color: #d4a017; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; margin-bottom: 6px; }

.mb-form-title { text-align: center; font-size: 28px; font-weight: 800; color: var(--mb-ink); margin-bottom: 8px; }

.mb-form-note { text-align: center; color: var(--mb-muted); font-size: 15px; margin-bottom: 24px; }

.mb-comment-form label { display: block; font-weight: 700; color: var(--mb-ink); margin: 0 0 8px 4px; font-size: 15px; }

.mb-comment-form input, .mb-comment-form textarea {

    width: 100%; border: 1px solid #e6e8f0; background: #f8f9fc; border-radius: 10px; padding: 14px 18px;

    font-size: 15px; color: var(--mb-text); transition: border-color .2s, background .2s;

}

.mb-comment-form input:focus, .mb-comment-form textarea:focus { outline: none; border-color: var(--mb-cyan); background: #fff; }

.mb-submit {

    margin-top: 24px; min-width: 160px; border: 0; border-radius: 8px; padding: 13px 28px;

    background: var(--mb-cyan); color: #fff; font-weight: 700; font-size: 16px; transition: background .2s;

}

.mb-submit:hover { background: var(--mb-blue); }

.mb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

