.blog-page { --blog-ink: #071a3d; --blog-green: #12952c; --blog-blue: #2357f5; --blog-cyan: #7de7ef; --blog-soft: #f4f7fb; --blog-line: #dce5ef; min-width: 0; background: #fff; }
body.blog-page > [data-partial="partials/header.html"] { height: var(--header-height); }
body.blog-page.interior-page .site-header:not(.is-scrolled) { background: #06142f; }

.blog-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--blog-line); background-color: var(--blog-soft); background-image: linear-gradient(rgba(7,26,61,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7,26,61,.035) 1px, transparent 1px); background-size: 42px 42px; }
.blog-hero::after { position: absolute; top: -120px; right: -60px; width: 390px; height: 390px; border: 1px solid rgba(18,149,44,.2); border-radius: 50%; box-shadow: 0 0 0 52px rgba(35,87,245,.035), 0 0 0 104px rgba(18,149,44,.025); content: ""; }
.blog-hero__inner { position: relative; z-index: 1; display: grid; min-height: 338px; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .68fr); gap: clamp(42px, 8vw, 120px); align-items: end; padding-block: clamp(64px, 7vw, 78px); }
.blog-hero__copy > p { margin-bottom: 15px; color: var(--blog-green); font-weight: 800; }
.blog-hero h1 { max-width: 760px; color: var(--blog-ink); font-size: clamp(3.1rem, 6vw, 6.4rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.blog-hero__summary { max-width: 480px; padding-bottom: 8px; color: #4f617d; font-size: clamp(1.05rem, 1.45vw, 1.22rem); line-height: 1.65; }
.blog-hero__signal { position: absolute; right: 28px; bottom: 28px; display: flex; width: 92px; align-items: center; justify-content: space-between; }
.blog-hero__signal::before { position: absolute; right: 5px; left: 5px; height: 1px; background: rgba(18,149,44,.4); content: ""; }
.blog-hero__signal i { position: relative; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--blog-green); box-shadow: 0 0 0 1px rgba(18,149,44,.35); }

body.blog-page .blog-editorial { padding: 48px 0 56px; }
.blog-featured { display: grid; min-height: 440px; grid-template-areas: "content media"; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: 12px; padding: 12px; overflow: hidden; border-radius: 28px; background: #06142f; box-shadow: 0 26px 70px rgba(6,20,47,.16); }
.blog-featured__image { position: relative; display: block; min-width: 0; grid-area: media; align-self: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 19px; background: #102b58; }
.blog-featured__image::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.14); border-radius: inherit; content: ""; pointer-events: none; }
.blog-featured__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.blog-placeholder { position: relative; display: grid; min-height: 100%; overflow: hidden; place-content: center; background: #071b3a; color: #dffcff; isolation: isolate; }
.blog-placeholder::before, .blog-placeholder::after { position: absolute; width: 64%; height: 64%; border: 1px solid rgba(41,205,217,.35); border-radius: 999px; content: ""; }
.blog-placeholder::before { transform: translate(-28%, -26%); }
.blog-placeholder::after { transform: translate(28%, 26%); }
.blog-placeholder span { z-index: 1; color: #e9fdff; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-placeholder i { position: absolute; width: 9px; height: 9px; border-radius: 999px; background: #10b7c4; box-shadow: 0 0 20px #10b7c4; }
.blog-placeholder i:nth-of-type(1) { top: 22%; left: 26%; }.blog-placeholder i:nth-of-type(2) { right: 21%; bottom: 23%; }.blog-placeholder i:nth-of-type(3) { right: 32%; top: 21%; }
.blog-featured__content { display: flex; grid-area: content; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 54px); }
.blog-featured__eyebrow { display: flex; align-items: center; gap: 10px; }
.blog-featured__eyebrow span { color: var(--blog-cyan); font-size: .78rem; font-weight: 800; }
.blog-featured__eyebrow span + span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.22); color: #b7c8df; }
.blog-card__body > span, .blog-post__category { color: var(--blog-green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-featured h2 { margin-top: 20px; color: #fff; font-size: clamp(2rem, 3vw, 3.35rem); line-height: 1.06; letter-spacing: -.05em; }
.blog-featured h2 a, .blog-card h2 a { color: inherit; }
.blog-featured p { margin-top: 20px; color: #b6c4d8; line-height: 1.7; }
.blog-featured__meta, .blog-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.blog-featured__meta { margin-top: 34px; }
.blog-byline { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 8px; }
.blog-byline__author { display: inline-flex; align-items: center; gap: 8px; }
.blog-byline__author::before { width: 3px; height: 3px; flex: 0 0 3px; border-radius: 50%; background: currentColor; content: ""; opacity: .7; }
.blog-featured .blog-byline { flex: 0 0 auto; flex-wrap: nowrap; color: #8fa2bd; font-size: .8rem; white-space: nowrap; }
.blog-featured__meta .text-link { flex: 0 0 auto; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blog-cyan); font-weight: 800; }
.text-link svg, .blog-card__meta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

body.blog-page .blog-listing { padding: 88px 0 104px; border-top: 1px solid var(--blog-line); background: #fff; }
.blog-listing__header { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.blog-listing__header h2 { color: var(--blog-ink); font-size: clamp(2.45rem, 4vw, 4.35rem); line-height: 1; letter-spacing: -.058em; }
.blog-listing__header p { max-width: 460px; margin-top: 13px; color: #5d6f89; font-size: 1rem; line-height: 1.6; }
.blog-listing__header > span { flex: 0 0 auto; padding-bottom: 5px; color: #718097; font-size: .84rem; font-weight: 700; }
.blog-filters { display: flex; width: fit-content; max-width: 100%; gap: 5px; margin: 34px 0 38px; padding: 5px; overflow-x: auto; border: 1px solid var(--blog-line); border-radius: 14px; background: var(--blog-soft); scrollbar-width: none; }
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filters button { min-height: 40px; flex: 0 0 auto; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; color: #52637c; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.blog-filters button:is(:hover, :focus-visible) { color: var(--blog-ink); }
.blog-filters .is-active { background: var(--blog-ink); color: #fff; box-shadow: 0 6px 16px rgba(7,26,61,.13); }
.blog-filters .is-active:is(:hover, :focus-visible) { color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 28px; }
.blog-card { --category-color: var(--blog-green); display: flex; min-width: 0; flex-direction: column; background: transparent; }
.blog-card[data-category="Product"] { --category-color: var(--blog-blue); }
.blog-card[data-category="Research"] { --category-color: #7656c5; }
.blog-card__image { position: relative; display: grid; aspect-ratio: 16 / 10; overflow: hidden; place-items: center; border-radius: 18px; background: #081a3b; box-shadow: 0 12px 30px rgba(7,26,61,.1); }
.blog-card__image::after { position: absolute; inset: 0; border: 1px solid rgba(7,26,61,.08); border-radius: inherit; content: ""; pointer-events: none; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card[data-post="intelligent-grading"] img { transform: scale(1.65); }
.blog-card__image .blog-placeholder { width: 100%; min-height: auto; aspect-ratio: 16 / 10; }
.blog-card:hover img { transform: scale(1.025); }
.blog-card[data-post="intelligent-grading"]:hover img { transform: scale(1.7); }
.blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 2px 0; }
.blog-card__body > span { color: var(--category-color); }
.blog-card h2 { margin-top: 10px; color: #0a214b; font-size: clamp(1.2rem, 1.55vw, 1.42rem); line-height: 1.27; letter-spacing: -.032em; }
.blog-card h2 a:hover { color: var(--category-color); }
.blog-card p { display: -webkit-box; overflow: hidden; margin-top: 12px; color: #5a6b85; font-size: .93rem; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-card__meta { margin-top: auto; padding-top: 24px; }
.blog-card .blog-byline { color: #7a899e; font-size: .8rem; }
.blog-card__meta a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--blog-line); border-radius: 50%; color: var(--category-color); }
.blog-card__meta a:hover { border-color: currentColor; background: #fff; }
.blog-card[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { .blog-card img { transition: none; } .blog-card:hover img { transform: none; } .blog-card[data-post="intelligent-grading"] img, .blog-card[data-post="intelligent-grading"]:hover img { transform: scale(1.65); } }
.blog-page[data-page="blog-post"] .blog-post { max-width: 1180px; padding-top: 56px; padding-bottom: 64px; }
.blog-post__hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 36px; }
.blog-page[data-page="blog-post"] .blog-post__intro { width: 100%; }
.blog-page[data-page="blog-post"] .blog-post h1 { max-width: 1100px; margin-top: 12px; color: #09214b; font-size: clamp(2.45rem, 3.5vw, 3.65rem); line-height: 1.05; letter-spacing: -.052em; text-wrap: balance; }
.blog-post__date { margin-top: 20px; color: #65758d; }
.blog-page[data-page="blog-post"] .blog-post__summary { max-width: 560px; margin-top: 15px; color: #536782; font-size: 1.05rem; line-height: 1.62; }
.blog-post__hero-media { width: 100%; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #071b3a; }
.blog-post__hero-media > :is(.blog-post__cover, .blog-video, .blog-placeholder) { display: block; width: 100%; height: 100%; min-height: 0; max-width: none; max-height: none; margin: 0; border-radius: 0; }
.blog-post__cover { object-fit: cover; }
.blog-video { position: relative; background: #071b3a; }
.blog-video iframe { width: 100%; height: 100%; border: 0; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, auto); gap: clamp(32px, 4vw, 48px); margin-top: 40px; }
.blog-post__contents { position: sticky; top: 105px; align-self: start; }
.blog-post__contents strong { color: #0a214b; font-size: .9rem; font-weight: 800; letter-spacing: -.01em; }
.blog-post__contents nav { display: grid; gap: 2px; margin-top: 15px; border-left: 1px solid #dce5ef; }
.blog-post__contents nav a { padding: 8px 12px; border-left: 2px solid transparent; margin-left: -1px; border-radius: 0 8px 8px 0; color: #5d6c83; font-size: .84rem; line-height: 1.35; transition: color .18s ease, background-color .18s ease; }
.blog-post__contents nav a:hover, .blog-post__contents nav a.is-active { border-left-color: #12952c; background: #f2faf4; color: #0a5330; font-weight: 800; }
.blog-post__contents nav a:focus-visible { outline: 2px solid #0866d9; outline-offset: 2px; }
.blog-post__contents > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: #0866d9; font-size: .82rem; font-weight: 800; }
.blog-post__contents svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.blog-post__body { color: #2a4164; font-size: 1.05rem; line-height: 1.8; }
.article-section + .article-section { margin-top: 32px; padding-top: 32px; border-top: 1px solid #dce5ef; }
.article-section h2 { margin-bottom: 14px; color: #09214b; font-size: clamp(1.65rem, 2.6vw, 2.2rem); letter-spacing: -.045em; }
.article-section p + p { margin-top: 18px; }
.article-section ul { display: grid; gap: 11px; margin-top: 20px; padding: 21px 24px 21px 42px; border: 1px solid #d6e5ed; border-radius: 13px; background: #f8fbfc; }
.article-section li::marker { color: #12952c; }
.article-external-links { display: grid; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #dce5ef; }
.article-external-links p { display: flex; min-width: 0; align-items: baseline; gap: 12px; }
.article-external-links span { flex: 0 0 auto; color: #09214b; font-size: .9rem; font-weight: 800; }
.article-external-links a { display: inline-flex; min-width: 0; align-items: center; gap: 7px; color: #0866d9; font-size: .92rem; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(8,102,217,.3); text-underline-offset: 3px; }
.article-external-links a:hover { text-decoration-color: currentColor; }
.article-external-links svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.related-insights { margin-top: 64px; padding-top: 32px; border-top: 1px solid #dce5ef; }
.related-insights__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.related-insights__heading h2 { color: #09214b; font-size: 1.65rem; letter-spacing: -.04em; }
.related-insights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.related-insights .blog-card h2 { font-size: 1.12rem; }
.related-insights .blog-card p { display: none; }
@media (max-width: 900px) {
  .blog-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .blog-hero__summary { max-width: 620px; }
  .blog-hero__signal { display: none; }
  .blog-featured { grid-template-areas: "media" "content"; grid-template-columns: 1fr; }
  .blog-featured__image img { min-height: 0; max-height: none; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-post__hero { grid-template-columns: 1fr; gap: 24px; }
  .blog-post__hero-media { max-width: 720px; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .blog-post__contents { position: static; display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 18px 0; border-top: 1px solid #dce5ef; border-bottom: 1px solid #dce5ef; }
  .blog-post__contents nav { margin: 0; }
  .blog-post__contents > a { display: none; }
}

@media (max-width: 600px) {
  .blog-hero::after { top: -76px; right: -150px; width: 290px; height: 290px; }
  .blog-hero__inner { padding-block: 48px 32px; }
  .blog-hero__copy > p { margin-bottom: 11px; }
  .blog-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .blog-hero__summary { padding: 0; font-size: 1rem; }
  body.blog-page .blog-editorial { padding: 32px 0 42px; }
  .blog-grid { gap: 36px 28px; }
  .blog-featured { gap: 0; padding: 8px; border-radius: 22px; }
  .blog-featured__image { border-radius: 15px; }
  .blog-featured__image img { min-height: 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
  .blog-featured__content { padding: 28px 20px 26px; }
  .blog-featured h2 { margin-top: 17px; font-size: clamp(1.8rem, 9vw, 2.35rem); }
  .blog-featured p { margin-top: 16px; }
  .blog-featured__meta { align-items: flex-start; flex-direction: column; margin-top: 26px; }
  .article-external-links p { align-items: flex-start; flex-direction: column; gap: 5px; }
  body.blog-page .blog-listing { padding: 42px 0 56px; }
  .blog-listing__header { display: block; }
  .blog-listing__header > span { display: block; margin-top: 14px; padding: 0; }
  .blog-filters { width: 100%; margin: 26px 0 34px; }
  .blog-filters button { padding-inline: 14px; }
  .blog-grid, .related-insights__grid { grid-template-columns: 1fr; }
  .blog-card__body { padding-top: 18px; }
  .blog-page[data-page="blog-post"] .blog-post { padding-top: 40px; padding-bottom: 48px; }
  .blog-page[data-page="blog-post"] .blog-post h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
  .blog-post__hero-media { border-radius: 14px; }
  .article-layout { margin-top: 32px; }
  .blog-post__contents { display: block; }
  .blog-post__contents nav { margin-top: 15px; }
  .article-section ul { padding: 18px 18px 18px 34px; }
  .related-insights { margin-top: 48px; }
}

@media (max-width: 360px) {
  .blog-filters { gap: 2px; padding: 4px; }
  .blog-filters button { min-height: 38px; padding-inline: 9px; font-size: .75rem; }
}
