:root {
    --rg-blue: #0094ff;
    --rg-blue-dark: #006fbe;
    --rg-purple: #6f35d5;
    --rg-ink: #10131a;
    --rg-charcoal: #242832;
    --rg-muted: #667085;
    --rg-line: #dfe4ea;
    --rg-soft: #f3f6fa;
    --rg-white: #fff;
}

* { box-sizing: border-box; }

body.blog-body {
    margin: 0;
    background: var(--rg-soft);
    color: var(--rg-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.blog-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.blog-site-header { background: #fff; border-bottom: 1px solid var(--rg-line); }
.blog-header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.blog-logo { display: inline-flex; align-items: center; }
.blog-logo img { display: block; width: 240px; height: auto; }
.blog-nav { display: flex; align-items: center; gap: 26px; }
.blog-nav a { color: var(--rg-charcoal); font-weight: 700; text-decoration: none; }
.blog-nav a:hover, .blog-nav a[aria-current="page"] { color: var(--rg-blue); }

.blog-hero, .blog-article-header {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125deg, #05070c 0%, #15182a 50%, #20234a 100%);
}
.blog-hero::after, .blog-article-header::after {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    right: -130px;
    top: -210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,148,255,.62) 0%, rgba(111,53,213,.28) 44%, transparent 72%);
}
.blog-hero .blog-shell { position: relative; z-index: 1; padding-block: 78px 86px; }
.blog-kicker { display: block; color: var(--rg-blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.blog-hero h1 { max-width: 760px; margin: 12px 0 14px; color: #fff; font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.08; }
.blog-hero p { max-width: 650px; margin: 0; color: #d9e1ee; font-size: 1.15rem; }

.blog-listing { padding-block: 64px 84px; }
.blog-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.blog-section-heading h2 { margin: 4px 0 0; font-size: 2rem; }
.blog-count { color: var(--rg-muted); font-weight: 700; }
.blog-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.blog-card { overflow: hidden; border: 1px solid var(--rg-line); border-radius: 12px; background: #fff; box-shadow: 0 15px 38px rgba(18, 29, 50, .08); }
.blog-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #161a24; }
.blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-content { padding: 26px 28px 30px; }
.blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--rg-muted); font-size: .85rem; font-weight: 700; }
.blog-card h3 { margin: 12px 0 12px; font-size: 1.55rem; line-height: 1.25; text-transform: none; }
.blog-card h3 a { color: var(--rg-ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--rg-blue-dark); }
.blog-card p { color: var(--rg-muted); }
.blog-read-more { color: var(--rg-blue-dark); font-weight: 800; text-decoration: none; }
.blog-read-more span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.blog-read-more:hover span { transform: translateX(4px); }
.blog-empty { padding: 40px; border: 1px dashed #aab4c0; border-radius: 10px; background: #fff; text-align: center; }

.blog-article-header::after { right: -80px; top: -170px; }
.blog-article-heading { position: relative; z-index: 1; padding-block: 54px 68px; }
.blog-back { display: inline-block; margin-bottom: 38px; color: #d8e8f9; text-decoration: none; }
.blog-back:hover { color: #fff; }
.blog-article-heading h1 { max-width: 930px; margin: 12px 0 18px; color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.13; }
.blog-article-lead { max-width: 790px; margin: 0 0 22px; color: #d9e1ee; font-size: 1.12rem; }
.blog-meta-light { color: #c2ccda; }
.blog-article-main { padding-bottom: 90px; }
.blog-featured-image { position: relative; z-index: 2; margin: -34px 0 54px; overflow: hidden; border: 7px solid #fff; border-radius: 14px; background: #15182a; box-shadow: 0 22px 55px rgba(15, 24, 43, .2); }
.blog-featured-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-prose { max-width: 780px; margin-inline: auto; color: #2c3440; font-size: 1.08rem; }
.blog-prose p { margin: 0 0 1.35em; }
.blog-prose h2 { margin: 2.2em 0 .7em; color: var(--rg-ink); font-size: 1.7rem; line-height: 1.25; }
.blog-prose h3 { margin-top: 1.8em; }
.blog-prose a { color: #006fbe; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.blog-prose strong { color: #171b23; }
.blog-prose blockquote { margin: 2em 0; padding: 10px 24px; border-left: 4px solid var(--rg-blue); background: #fff; }
.blog-cta { max-width: 920px; margin: 70px auto 0; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, #0c111b, #24274a); }
.blog-cta h2 { margin: 5px 0 6px; color: #fff; font-size: 1.55rem; }
.blog-cta p { margin: 0; color: #d9e1ee; }
.blog-button { display: inline-block; flex: 0 0 auto; padding: 13px 20px; border-radius: 7px; color: #fff; background: var(--rg-blue); font-weight: 800; text-decoration: none; }
.blog-button:hover { color: #fff; background: var(--rg-blue-dark); text-decoration: none; }
.blog-not-found { min-height: 55vh; padding-block: 100px; text-align: center; }
.blog-not-found h1 { margin-bottom: 10px; }
.blog-not-found .blog-button { margin-top: 20px; }

.blog-footer { padding-top: 45px; color: #d7dde7; background: #05070b; }
.blog-footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.blog-footer strong { color: #fff; font-size: 1.05rem; }
.blog-footer p { color: #9ca8b8; }
.blog-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.blog-footer a { color: #d7dde7; text-decoration: none; }
.blog-footer a:hover { color: var(--rg-blue); }
.blog-copyright { margin-top: 38px; padding: 14px 20px; color: #8d98a7; background: #000; text-align: center; font-size: .82rem; }

@media (max-width: 760px) {
    .blog-shell { width: min(100% - 28px, 1120px); }
    .blog-header-inner { min-height: 80px; flex-direction: column; justify-content: center; padding-block: 14px; }
    .blog-logo img { width: 210px; }
    .blog-nav { gap: 18px; font-size: .9rem; }
    .blog-hero .blog-shell { padding-block: 55px 62px; }
    .blog-card-grid { grid-template-columns: 1fr; }
    .blog-section-heading { align-items: start; flex-direction: column; }
    .blog-article-heading { padding-block: 42px 57px; }
    .blog-back { margin-bottom: 28px; }
    .blog-featured-image { margin-top: -24px; border-width: 4px; }
    .blog-prose { font-size: 1rem; }
    .blog-cta { align-items: start; flex-direction: column; padding: 28px; }
    .blog-footer-grid { grid-template-columns: 1fr; }
    .blog-footer nav { justify-content: flex-start; }
}
