/* =========================================================
   MonocomSoft Blog - Global CSS
   Use for:
   /blog/index.html
   /blog/article pages
   Suggested path: /blog/assets/css/blog.css
   ========================================================= */

:root {
    --blog-accent: #0ea5e9;
    --blog-accent-dark: #0284c7;
    --blog-text: #0f172a;
    --blog-muted: #64748b;
    --blog-line: #e2e8f0;
    --blog-soft: #f8fafc;
    --blog-soft-blue: #eff6ff;
    --blog-soft-green: #ecfeff;
    --blog-shadow: 0 18px 45px rgba(2, 8, 23, .08);
    --blog-radius: 22px;
}

html {
    scroll-behavior: smooth;
}



body.blog-page main,
body.blog-article-page main {
    overflow: hidden;
}

/* =========================================================
   Shared hero styles
   ========================================================= */

.blog-home-hero,
.article-hero {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .18), transparent 28%),
        radial-gradient(circle at left 20%, rgba(59, 130, 246, .12), transparent 22%),
        linear-gradient(135deg, #081120 0%, #10213d 52%, #15345f 100%);
    color: #fff;
}

.blog-home-hero {
    padding: 76px 0 42px;
}

.article-hero {
    padding: 76px 0 36px;
}

.blog-home-hero::after,
.article-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.blog-home-hero::after {
    height: 110px;
}

.article-hero::after {
    height: 100px;
}

.breadcrumbs a,
.breadcrumbs li {
    color: rgba(255, 255, 255, .75) !important;
}

.blog-badge-soft,
.badge-soft-article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.blog-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-badge-soft {
    margin-right: 0;
}

.badge-soft-article {
    margin-right: 8px;
}

.blog-badge-soft i,
.badge-soft-article i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .85rem;
}

.article-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-home-hero h1,
.article-hero h1 {
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
}

.blog-home-hero h1 {
    font-size: clamp(2rem, 3vw, 3.35rem);
    margin-bottom: 18px;
}

.article-hero h1 {
    font-size: clamp(2rem, 3vw, 3.15rem);
    margin: 0 0 18px;
    max-width: 860px;
}

.blog-hero-copy,
.article-intro {
    color: #cbd5e1;
    font-size: 1.08rem;
}

.blog-hero-copy {
    max-width: 760px;
}

.article-intro {
    max-width: 820px;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    color: #cbd5e1;
    font-size: .94rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.article-hero-highlight {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 16px;
    backdrop-filter: blur(4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.article-hero-highlight strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    line-height: 1.3;
    font-weight: 600;
}

.article-hero-highlight span {
    display: block;
    margin-top: 6px;
    color: #cbd5e1;
    font-size: .84rem;
    line-height: 1.55;
}

/* =========================================================
   Shared buttons
   ========================================================= */

.btn-blog-primary,
.btn-blog-secondary,
.btn-article-primary,
.btn-article-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.btn-blog-primary,
.btn-article-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 10px 25px rgba(22, 163, 74, .18);
}

.btn-blog-primary:hover,
.btn-article-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-blog-secondary,
.btn-article-secondary {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
}

.btn-blog-secondary:hover,
.btn-article-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}

/* =========================================================
   Shared section styles
   ========================================================= */

.blog-home-section,
.article-wrap {
    padding: 64px 0;
}

.article-wrap {
    padding-top: 50px;
    padding-bottom: 72px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent-dark);
    background: var(--blog-soft-blue);
    border: 1px solid #bfdbfe;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-title-blog {
    font-size: clamp(1.7rem, 2.3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--blog-text);
}

.section-lead-blog {
    color: var(--blog-muted);
    font-size: 1.05rem;
    max-width: 760px;
}

/* =========================================================
   Shared cards
   ========================================================= */

.blog-featured-card,
.blog-card,
.toc-card,
.info-card,
.cta-card,
.related-card,
.blog-note-box {
    background: #fff;
    border: 1px solid var(--blog-line);
    border-radius: 22px;
}

.blog-featured-card,
.blog-card,
.toc-card,
.info-card,
.cta-card,
.related-card {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.toc-card,
.info-card,
.cta-card,
.blog-note-box {
    padding: 22px;
}

.blog-featured-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    height: 100%;
}

.blog-featured-media {
    display: block;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.blog-featured-media img,
.blog-card-img img,
.related-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.blog-featured-media img {
    height: 100%;
    min-height: 100%;
}

.blog-featured-content {
    padding: 30px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    margin-bottom: 16px;
}

.post-tag.blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.post-tag.green {
    background: #ecfdf5;
    color: #15803d;
}

.post-tag.orange {
    background: #fff7ed;
    color: #c2410c;
}

.post-tag.pink {
    background: #fdf2f8;
    color: #be185d;
}

.blog-featured-title,
.blog-card-title {
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 600;
    margin-bottom: 14px;
}

.blog-featured-title {
    font-size: clamp(1.55rem, 2vw, 2.3rem);
}

.blog-card-title {
    font-size: 1.22rem;
    min-height: 58px;
}

.blog-featured-title a,
.blog-card-title a,
.blog-mini-title a,
.blog-cta-card a,
.related-card-body a {
    color: var(--blog-text);
    text-decoration: none;
}

.post-excerpt {
    color: var(--blog-muted);
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 16px;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.read-link:hover {
    color: var(--blog-accent-dark);
}

/* =========================================================
   Blog index page
   ========================================================= */

.blog-hero-panel {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 24px;
    color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .20);
}

.blog-hero-panel .stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.blog-hero-panel .stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 16px;
}

.blog-hero-panel .stat-card strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1.1;
}

.blog-hero-panel .stat-card span {
    display: block;
    margin-top: 6px;
    color: #cbd5e1;
    font-size: .94rem;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    transition: .22s ease;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .09);
}

.blog-card-img {
    display: block;
    aspect-ratio: 16/10;
    background: #f8fafc;
    overflow: hidden;
}

.blog-card-img img {
    height: 100%;
    transition: transform .25s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 22px;
}

.blog-mini-list {
    display: grid;
    gap: 16px;
}

.blog-mini-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--blog-line);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    transition: .18s ease;
}

.blog-mini-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.blog-mini-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blog-soft-blue);
    color: #1d4ed8;
    font-size: 1.1rem;
    flex: 0 0 46px;
}

.blog-mini-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--blog-text);
}

.blog-mini-text {
    color: var(--blog-muted);
    font-size: .93rem;
    line-height: 1.6;
    margin: 0;
}

.blog-topic-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.blog-topic-grid {
    display: grid;
    gap: 12px;
}

.topic-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid var(--blog-line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    transition: .18s ease;
}

.topic-chip:hover {
    color: #0f172a;
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(14, 165, 233, .10);
}

.topic-chip__content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.topic-chip__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    color: #0369a1;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .10);
}

.topic-chip__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topic-chip__text strong {
    color: var(--blog-text);
    font-size: .96rem;
    line-height: 1.3;
    font-weight: 600;
}

.topic-chip__text small {
    margin-top: 3px;
    color: var(--blog-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.topic-chip__arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #dbeafe;
    transition: .18s ease;
}

.topic-chip:hover .topic-chip__arrow {
    color: #0369a1;
    border-color: #bae6fd;
    transform: translate(1px, -1px);
}

.blog-cta-band {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 30px;
    padding: 34px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.blog-cta-band::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(34, 197, 94, .24), transparent 62%);
    pointer-events: none;
}

.blog-cta-band h2,
.blog-cta-band p,
.blog-cta-band a,
.blog-cta-band li,
.blog-cta-band strong {
    position: relative;
    z-index: 1;
}

.blog-cta-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    color: #cbd5e1;
}

.blog-cta-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-cta-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 22px;
    padding: 22px;
    color: #fff;
    height: 100%;
}

.blog-cta-card .small-note {
    color: #cbd5e1;
}

.blog-cta-card .btn-blog-primary {
    width: 100%;
    margin-top: 12px;
}

.blog-note-box {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    height: 100%;
}

.blog-note-box-header {
    margin-bottom: 6px;
}

.blog-note-box-subtitle {
    margin: 0;
    color: var(--blog-muted);
    font-size: .93rem;
    line-height: 1.6;
}

.blog-note-box ul {
    margin: 0;
    padding-left: 18px;
    color: var(--blog-muted);
}

.blog-note-box li+li {
    margin-top: 10px;
}

/* =========================================================
   Blog site search
   ========================================================= */

body.ms-site-search-open {
    overflow: hidden;
}

.ms-search-launch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    transition: .2s ease;
}

.ms-search-launch:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    transform: translateY(-1px);
}

.ms-search-launch small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #cbd5e1;
    font-size: .73rem;
    font-weight: 700;
}

.ms-header.is-scrolled .ms-search-launch {
    background: #fff;
    border-color: #e2e8f0;
    color: var(--blog-text);
}

.ms-header.is-scrolled .ms-search-launch:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--blog-text);
}

.ms-header.is-scrolled .ms-search-launch small {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

.ms-site-search {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.ms-site-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .56);
    backdrop-filter: blur(10px);
}

.ms-site-search__dialog {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    max-height: min(78vh, 760px);
    margin: clamp(22px, 6vh, 56px) auto 0;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 30px 80px rgba(2, 6, 23, .28);
    overflow: hidden;
}

.ms-site-search__topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ms-site-search__eyebrow {
    margin: 0 0 6px;
    color: #0369a1;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ms-site-search__title {
    margin: 0;
    color: var(--blog-text);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 600;
}

.ms-site-search__close {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #475467;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    transition: .18s ease;
}

.ms-site-search__close:hover {
    background: #f8fafc;
    color: var(--blog-text);
    transform: translateY(-1px);
}

.ms-site-search__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 0 18px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .04);
}

.ms-site-search__field i {
    color: #0369a1;
    font-size: 1.15rem;
}

.ms-site-search__field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--blog-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.ms-site-search__field input::placeholder {
    color: #94a3b8;
}

.ms-site-search__hintbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 2px 0;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: .86rem;
}

.ms-site-search__hintbar kbd {
    padding: 3px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: .74rem;
    font-weight: 700;
}

.ms-site-search__results {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    max-height: min(52vh, 520px);
    overflow: auto;
    padding-right: 4px;
}

.ms-site-search__empty {
    display: grid;
    gap: 8px;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
}

.ms-site-search__empty strong {
    color: var(--blog-text);
    font-size: 1rem;
    font-weight: 600;
}

.ms-site-search__empty span {
    color: #64748b;
    line-height: 1.65;
}

.ms-site-search__result {
    display: grid;
    gap: 9px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: .18s ease;
}

.ms-site-search__result:hover,
.ms-site-search__result.is-active {
    transform: translateY(-1px);
    border-color: #bae6fd;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 34px rgba(14, 165, 233, .10);
}

.ms-site-search__result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ms-site-search__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.ms-site-search__type.is-product {
    background: #ecfdf5;
    color: #15803d;
}

.ms-site-search__type.is-blog {
    background: #eff6ff;
    color: #1d4ed8;
}

.ms-site-search__type.is-support {
    background: #fff7ed;
    color: #c2410c;
}

.ms-site-search__type.is-tool {
    background: #f5f3ff;
    color: #6d28d9;
}

.ms-site-search__type.is-page {
    background: #f8fafc;
    color: #334155;
}

.ms-site-search__title {
    display: block;
}

.ms-site-search__result .ms-site-search__title {
    color: var(--blog-text);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.ms-site-search__excerpt {
    color: #64748b;
    font-size: .93rem;
    line-height: 1.65;
}

.ms-site-search__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    font-family: 'Inter', sans-serif;
    font-size: .84rem;
    font-weight: 700;
}

/* =========================================================
   Article page
   ========================================================= */

.sticky-side {
    position: sticky;
    top: 95px;
}

.toc-title,
.side-title {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--blog-text);
}

.toc-list,
.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li+li,
.side-list li+li {
    margin-top: 10px;
}

.toc-list a,
.side-list a {
    color: #334155;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.55;
    display: block;
}

.toc-list a:hover,
.side-list a:hover {
    color: var(--blog-accent-dark);
}

.article-body {
    font-size: 1.03rem;
    line-height: 1.82;
    color: #1e293b;
}

.article-body h2,
.article-body h3 {
    color: var(--blog-text);
    letter-spacing: -.02em;
    font-weight: 600;
    scroll-margin-top: 100px;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 38px 0 14px;
}

.article-body h3 {
    font-size: 1.18rem;
    margin: 24px 0 10px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.article-body li+li {
    margin-top: 8px;
}

.callout-box {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 22px;
    margin: 24px 0;
}

.callout-box strong {
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.article-inline-cta {
    position: relative;
    overflow: hidden;
    margin: 32px 0;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
    color: #fff;
}

.article-inline-cta::after {
    content: "";
    position: absolute;
    top: -32px;
    right: -22px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, .28), transparent 62%);
    pointer-events: none;
}

.article-inline-cta>* {
    position: relative;
    z-index: 1;
}

.article-inline-cta .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}

.article-inline-cta h3 {
    margin: 16px 0 8px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.article-inline-cta p {
    margin-bottom: 0;
    color: #cbd5e1;
}

.article-inline-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}

.cta-card p,
.cta-card li,
.cta-card .small-note,
.cta-card .side-title {
    color: #cbd5e1;
}

.related-card {
    overflow: hidden;
    height: 100%;
    transition: .2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.related-card img {
    aspect-ratio: 16/10;
}

.related-card-body {
    padding: 20px;
}

.related-card-body h3 {
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-card-body>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991.98px) {
    .blog-home-hero {
        padding: 48px 0 24px;
    }

    .blog-home-section,
    .article-wrap {
        padding: 48px 0;
    }

    .blog-featured-content {
        padding: 24px;
    }

    .blog-cta-points {
        grid-template-columns: 1fr;
    }

    .sticky-side {
        position: static;
    }

    .article-wrap {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .article-hero-highlights {
        grid-template-columns: 1fr;
    }

    .ms-site-search__dialog {
        width: calc(100vw - 24px);
        margin-top: 16px;
        padding: 20px;
    }

    .ms-site-search__hintbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-panel {
        margin-top: 18px;
    }

    .blog-hero-panel .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-mini-card {
        padding: 14px;
    }

    .blog-cta-band {
        padding: 24px;
    }

    .topic-chip {
        min-height: 72px;
        padding: 14px;
    }

    .article-inline-cta {
        padding: 22px;
    }

    .ms-search-launch {
        width: 100%;
        justify-content: space-between;
    }

    .ms-site-search__topbar {
        align-items: center;
    }

    .ms-site-search__field {
        min-height: 58px;
        padding: 0 16px;
    }

    .ms-site-search__result {
        padding: 16px;
    }
}

@media (max-width: 575.98px) {

    .blog-badge-soft,
    .badge-soft-article {
        font-size: .86rem;
    }

    .blog-home-hero h1,
    .article-hero h1 {
        font-size: 2rem;
    }

    .blog-hero-panel .stat-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-title {
        min-height: auto;
    }

    .topic-chip__text strong {
        font-size: .92rem;
    }

    .ms-site-search__title {
        font-size: 1.35rem;
    }

    .ms-site-search__result .ms-site-search__title {
        font-size: .95rem;
    }
}

.article-hero-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
}

.article-hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .article-hero-media {
        margin-top: 8px;
    }
}
