/* Blog showcase (landing/blogs/*) */
.mb-blog { --ink:#172033; --muted:#64748b; --line:#e3e8ef; --brand:#ff3951; --soft:#f6f8fb; color: var(--ink); }
.mb-blog a { text-decoration: none; }
.mb-blog-hero { padding: 120px 0 36px; background: linear-gradient(180deg,#f3f6ff 0%,#fff 100%); }
.mb-blog-hero h1 { font-size: clamp(30px,4vw,44px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.mb-blog-hero p { color: var(--muted); max-width: 640px; margin: 0 0 22px; font-size: 17px; }
.mb-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-cat { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.mb-cat:hover, .mb-cat.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.mb-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin: 28px 0 40px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 34px rgba(23,32,51,.07); }
.mb-feature__img { min-height: 320px; background: var(--soft) center/cover no-repeat; }
.mb-feature__body { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mb-feature__body h2 { font-size: clamp(22px,2.6vw,30px); line-height: 1.2; margin: 0; font-weight: 800; }
.mb-feature__body h2 a { color: var(--ink); }
.mb-feature__body p { color: var(--muted); margin: 0; }
.mb-pill { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #ffe3e7; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mb-meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mb-meta i { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
.mb-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.mb-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .15s, box-shadow .15s; }
.mb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,32,51,.10); }
.mb-card__img { aspect-ratio: 16/9; background: var(--soft) center/cover no-repeat; }
.mb-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mb-card__body h3 { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }
.mb-card__body h3 a { color: var(--ink); }
.mb-card__body p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mb-card__body .mb-meta { margin-top: auto; padding-top: 6px; }
.mb-pager { display: flex; justify-content: center; gap: 6px; margin: 40px 0 10px; flex-wrap: wrap; }
.mb-pager a, .mb-pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; padding: 0 10px; }
.mb-pager .is-current { background: var(--brand); color: #fff; border-color: var(--brand); }
.mb-cta { margin: 50px 0 20px; padding: 30px 34px; border-radius: 18px; background: linear-gradient(135deg,#ff3951,#ff6b7e); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mb-cta h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #fff; }
.mb-cta p { margin: 0; opacity: .92; }
.mb-cta a { background: #fff; color: var(--brand); font-weight: 700; padding: 11px 22px; border-radius: 10px; }
/* post page */
.mb-post { max-width: 780px; margin: 0 auto; padding: 110px 16px 40px; }
.mb-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.mb-crumbs a { color: var(--muted); }
.mb-post h1 { font-size: clamp(28px,4vw,40px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 12px; }
.mb-post__lead { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.mb-post__cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 16px; margin: 22px 0 28px; background: var(--soft); }
.mb-toc { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 26px; font-size: 14px; }
.mb-toc strong { display: block; margin-bottom: 6px; }
.mb-toc ol { margin: 0; padding-left: 18px; } .mb-toc a { color: var(--brand); }
.mb-prose { font-size: 17.5px; line-height: 1.75; color: #243047; }
.mb-prose h2 { font-size: 26px; line-height: 1.25; margin: 38px 0 12px; font-weight: 800; color: var(--ink); scroll-margin-top: 90px; }
.mb-prose h3 { font-size: 20px; margin: 26px 0 8px; font-weight: 700; color: var(--ink); }
.mb-prose p { margin: 0 0 16px; } .mb-prose ul, .mb-prose ol { margin: 0 0 18px; padding-left: 22px; } .mb-prose li { margin-bottom: 6px; }
.mb-prose a { color: var(--brand); text-decoration: underline; }
.mb-prose blockquote { border-left: 4px solid var(--brand); margin: 20px 0; padding: 4px 18px; color: var(--muted); background: var(--soft); border-radius: 0 10px 10px 0; }
.mb-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; } .mb-prose th, .mb-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; } .mb-prose th { background: var(--soft); }
.mb-share { display: flex; gap: 8px; align-items: center; margin: 30px 0; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.mb-share a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; }
.mb-author { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 30px; }
.mb-author img { width: 52px; height: 52px; border-radius: 50%; padding: 12px; background: #ffe3e7; object-fit: contain; box-sizing: border-box; }
.mb-author small { color: var(--muted); display: block; }
.mb-related { padding: 30px 0 60px; background: var(--soft); }
.mb-related h2 { font-size: 24px; font-weight: 800; margin: 0 0 18px; }
@media (max-width: 900px) { .mb-feature { grid-template-columns: 1fr; } .mb-feature__img { min-height: 220px; } .mb-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .mb-grid { grid-template-columns: 1fr; } .mb-feature__body { padding: 22px; } .mb-prose { font-size: 16.5px; } .mb-blog-hero { padding-top: 100px; } }

/* error-code library and free tools */
.mb-codes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0 0 8px; }
.mb-code { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.mb-code:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23,32,51,.09); }
.mb-code strong { color: var(--brand); font-size: 17px; }
.mb-code span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.mb-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #ffe3e7; color: #d92a42; }
.mb-pill--temporary { background: #fff4d6; color: #8a5a00; } .mb-pill--sender { background: #fde7ea; color: #a1263a; }
.mb-tool { position: relative; display: grid; gap: 12px; max-width: 640px; margin: 18px 0 8px; }
.mb-tool__row { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.mb-tool__row input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-weight: 400; width: 100%; }
.mb-tool .btn { justify-self: start; }
.mb-tool__note { color: var(--muted); font-size: 13px; margin: 0; }
.mb-tool__out { max-width: 760px; margin-top: 18px; text-align: left; }
.mb-tool__err { color: #a1263a; font-weight: 600; }
.mb-res__for { font-size: 20px; margin: 6px 0 12px; } .mb-res__for span { color: var(--brand); word-break: break-all; }
.mb-res { border: 1px solid var(--line); border-left-width: 5px; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; background: #fff; color: var(--ink); }
.mb-res h3 { font-size: 16px; margin: 0 0 6px; } .mb-res p { margin: 0 0 6px; font-size: 15px; }
.mb-res pre { margin: 0 0 8px; padding: 8px 10px; background: #f3f6fb; border-radius: 8px; font-size: 13px; white-space: pre-wrap; word-break: break-all; }
.mb-res table { width: 100%; border-collapse: collapse; font-size: 14px; } .mb-res th, .mb-res td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.mb-res--ok { border-left-color: #22a06b; } .mb-res--warn { border-left-color: #e0a100; } .mb-res--bad { border-left-color: #d6364f; } .mb-res--info { border-left-color: #ff3951; }
@media (max-width: 600px) { .mb-codes { grid-template-columns: 1fr; } }
.mb-codes--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .mb-codes--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .mb-codes--3 { grid-template-columns: 1fr; } }

/* modern centered layout for the free tools and error-code pages */
.mb-blog-hero--center { text-align: center; padding: 60px 0; background: radial-gradient(1000px 360px at 50% -80px, #ffe3e7 0%, rgba(223,233,255,0) 70%), linear-gradient(180deg, #f5f8ff 0%, #fff 100%); }
.mb-blog-hero--center h1 { max-width: 820px; margin: 0 auto 14px; }
.mb-blog-hero--center p { margin-left: auto; margin-right: auto; max-width: 660px; }
.mb-blog-hero--center .mb-crumbs { margin-bottom: 18px; }
.mb-blog-hero--center .mb-cats { justify-content: center; }
.mb-eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: #ffe3e7; color: #d92a42; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.mb-blog-hero--center .mb-pill { margin-bottom: 14px; }
.mb-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 8px; }
.mb-tile { position: relative; flex: 1 1 290px; max-width: 320px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 24px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none !important; box-shadow: 0 1px 2px rgba(23,32,51,.04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.mb-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(255,57,81,.13); border-color: #ffd9de; }
.mb-tile__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 18px; background: linear-gradient(135deg, #ff3951, #ff6b7e); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 10px 22px rgba(255,57,81,.28); }
.mb-tile strong { font-size: 18px; line-height: 1.3; }
.mb-tile__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.mb-tile__go { margin-top: auto; padding-top: 10px; color: var(--brand); font-weight: 700; font-size: 14px; }
.mb-prose--center { margin-left: auto; margin-right: auto; max-width: 760px; }
.mb-prose--center > h2 { text-align: center; }
.mb-group { text-align: center; font-size: 22px; font-weight: 800; margin: 38px 0 18px; }
.mb-group::after { content: ""; display: block; width: 44px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: var(--brand); }
.mb-group--temporary::after { background: #e0a100; } .mb-group--sender::after { background: #d6364f; }
.mb-codes { gap: 14px; }
.mb-code { border-radius: 16px; padding: 18px 20px; }
.mb-code strong { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 8px; background: #fff0f2; font-size: 15px; }
.mb-tool { max-width: 680px; margin: 26px auto 8px; padding: 26px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(255,57,81,.12); }
.mb-tool__row input { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
.mb-tool__row input:focus { outline: 3px solid #ffd9de; border-color: var(--brand); }
.mb-tool .btn { justify-self: stretch; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; font-weight: 700; border-radius: 12px; }
.mb-tool__note { text-align: center; }
.mb-tool__out { margin: 22px auto 0; }
.mb-res { border-radius: 14px; box-shadow: 0 1px 2px rgba(23,32,51,.04); }
@media (max-width: 600px) { .mb-blog-hero--center { padding: 60px 0; } .mb-tool { padding: 18px; border-radius: 18px; } .mb-tile { max-width: none; } }

.mb-share a svg { width: 13px; height: 13px; fill: currentColor; margin-right: 0; vertical-align: -1px; }
