/* CoreMate editorial: original Figma palette, original local font families. */
.blog-page {
  --blog-border: #e0e5ef;
  --blog-muted: #616b7e;
  font-family: Manrope, Arial, sans-serif;
}
.blog-container { width: min(100% - 112px, 1328px); margin-inline: auto; }
.blog-page .site-header nav a[aria-current="page"] { color: var(--blue); position: relative; }
.blog-page .site-header nav a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.blog-intro { position: relative; isolation: isolate; padding: 80px 0 68px; text-align: center; }
.blog-intro::before {
  content: ""; position: absolute; z-index: -1; inset: -45px -56px -70px;
  background: url('/assets/background-1015.svg') center 45% / 100% 160% no-repeat;
  opacity: .8; pointer-events: none;
}
.blog-intro h1 { font-size: clamp(52px, 5.55vw, 80px); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; }
.blog-intro h1 > span:last-child { color: var(--blue); }
.blog-intro h1 .journal-title-line { display: block; text-wrap: balance; overflow-wrap: break-word; }
.blog-intro h1:not(:lang(en)) { line-height: 1.18; }
.blog-intro h1:is(:lang(zh), :lang(ja), :lang(ko)) { letter-spacing: 0; line-height: 1.24; }
.blog-intro > p { margin-top: 24px; color: #394257; font-size: 16px; line-height: 1.75; }
.blog-intro > p:not(:lang(en)) { text-wrap: balance; }
.featured-story { position: relative; display: block; min-height: 500px; border-radius: 28px; overflow: hidden; background: #f2f5ff; isolation: isolate; }
.featured-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.featured-story:hover .featured-art img { transform: scale(1.025); }
.featured-copy { position: relative; padding: 58px 64px; width: 54%; min-height: 500px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.featured-label { color: #465066; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.5; font-weight: 700; margin-bottom: 22px; }
.featured-copy h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.16; letter-spacing: -.035em; font-weight: 500; }
.featured-description { max-width: 360px; color: #505b70; font-size: 15px; line-height: 1.8; margin-top: 22px; }
.featured-bottom { margin-top: 24px; }
.blog-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; line-height: 1.6; color: #626d81; }
.blog-meta > span:first-child { display: flex; align-items: center; gap: 8px; color: #3f495b; font-weight: 500; }
.blog-meta > span + span { border-left: 1px solid #cbd3e1; padding-left: 14px; white-space: nowrap; }
.blog-meta img { flex-shrink: 0; }
.featured-bottom .blog-meta img { display: none; }
.read-story { width: 48px; height: 48px; display: grid; place-items: center; color: var(--blue); background: white; border-radius: 50%; margin-top: 24px; box-shadow: 0 3px 15px #263e7710; transition: background .2s, color .2s, transform .2s; }
.featured-story:hover .read-story { background: var(--blue); color: white; transform: translateX(3px); }
.latest-stories { padding-top: 72px; }
.stories-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.stories-heading h2, .article-related h2 { font-size: 40px; line-height: 1.2; letter-spacing: -.035em; }
.stories-heading > span { font-size: 13px; color: #626d81; font-variant-numeric: tabular-nums; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 24px 0 40px; }
.blog-filters { display: flex; align-items: center; gap: 22px; flex: 1; border-bottom: 1px solid var(--blog-border); }
.blog-filters button { position: relative; min-height: 48px; background: transparent; color: #5b6475; padding: 12px 6px 16px; font: 500 12px/1.5 Manrope, sans-serif; white-space: nowrap; transition: color .2s; }
.blog-filters button:first-child { padding-left: 10px; padding-right: 10px; }
.blog-filters button:hover { color: var(--blue); }
.blog-filters button[aria-pressed="true"] { color: var(--blue); }
.blog-filters button[aria-pressed="true"]::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--blue); }
.blog-search { display: flex; align-items: center; gap: 10px; width: 270px; min-width: 220px; border: 1px solid #e3e7ef; background: #fafbfd; padding: 12px 18px; border-radius: 30px; color: #697386; }
.blog-search:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.blog-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: #202636; font: 12px/1.5 Manrope, sans-serif; }
.blog-search input::placeholder { color: #717b8d; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 30px; }
.story-card[hidden], .blog-empty[hidden] { display: none; }
.story-card > a { display: flex; flex-direction: column; height: 100%; border-radius: 16px; }
.story-art { aspect-ratio: 1.75; border-radius: 16px; background-image: url('/assets/blog/optimized/editorial-atlas-e3c2d8fb-1600.webp'); background-size: 300% 200%; background-repeat: no-repeat; transition: filter .35s, box-shadow .35s; }
.art-0 { background-position: 0 0; } .art-1 { background-position: 50% 0; } .art-2 { background-position: 100% 0; }
.art-3 { background-position: 0 100%; } .art-4 { background-position: 50% 100%; } .art-5 { background-position: 100% 100%; }
.story-category { font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #687286; margin: 20px 0 10px; }
.story-card h3 { position: relative; font-size: 26px; line-height: 1.22; letter-spacing: -.025em; font-weight: 500; padding-right: 16px; transition: color .2s; }
.story-card a:hover h3 { color: var(--blue); }
.story-card a:hover .story-art { filter: brightness(1.035); box-shadow: 0 10px 24px #314b8410; }
.story-arrow { position: absolute; right: 0; top: 5px; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.story-card a:hover .story-arrow, .story-card a:focus-visible .story-arrow { opacity: 1; transform: none; }
.story-card a > p { color: var(--blog-muted); font-size: 14px; line-height: 1.75; margin: 13px 0 18px; }
.story-card .blog-meta { margin-top: auto; }
.story-card .blog-meta img { display: none; }
.blog-empty { padding: 70px 24px; text-align: center; border-radius: 16px; background: #f7f9ff; }
.blog-empty h3 { font-size: 30px; } .blog-empty p { color: var(--blog-muted); margin: 15px 0 22px; }
.editorial-note { font-size: 11px; line-height: 1.7; color: #626d81; margin-top: 34px; }
.blog-cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #f4f6ff; text-align: center; padding: 48px 30px; margin: 64px 0 48px; }
.blog-cta::before { content: ""; position: absolute; z-index: -1; inset: -160px -50px; background: url('/assets/background-1015.svg') center / cover no-repeat; }
.blog-cta h2 { font-size: 52px; line-height: 1.08; letter-spacing: -.035em; }
.blog-cta h2 span { color: var(--blue); }
.blog-cta .button { margin-top: 26px; padding: 14px 24px; gap: 16px; font-size: 13px; }
/* Editorial footer retains the original links at a reading-friendly scale. */
.blog-page .ending-container { width: min(100% - 112px, 1328px); }
.blog-page .site-footer { border-top: 1px solid #e4e9f2; }
.blog-page .footer-grid { padding-block: 38px; gap: 48px; }
.blog-page .footer-brand img { width: 180px; }
.blog-page .footer-tagline, .blog-page .footer-description { font-size: 13px; line-height: 1.8; max-width: 320px; }
.blog-page .footer-tagline { margin-top: 18px; } .blog-page .footer-description { margin-top: 10px; }
.blog-page .footer-column h2 { font-size: 16px; line-height: 1.5; margin-bottom: 12px; }
.blog-page .footer-column a { font-size: 12px; line-height: 1.7; min-height: 35px; padding-block: 6px; }
.blog-page .footer-bottom { font-size: 11px; padding-block: 15px 24px; }
/* Article detail: a calm reading column with a persistent contents rail. */
.article-breadcrumb { display: flex; gap: 14px; color: #626d81; font-size: 12px; padding-top: 40px; }
.article-breadcrumb a { color: var(--blue); }
.article-heading { max-width: 850px; margin: 54px auto 40px; text-align: center; }
.article-heading > .story-category { margin: 0 0 20px; color: var(--blue); }
.article-heading h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.04em; }
.article-heading > p:not(.story-category) { font-size: 18px; line-height: 1.8; color: var(--blog-muted); margin: 24px auto; max-width: 650px; }
.article-heading .blog-meta { justify-content: center; }
.article-preview { display: inline-block; margin-top: 18px; font-size: 11px; color: #626d81; }
.article-cover { width: 100%; max-height: 500px; aspect-ratio: 2.45; border-radius: 24px; overflow: hidden; margin-bottom: 64px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover { position: relative; }
.article-cover > .story-art { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 72px; justify-content: center; margin-bottom: 80px; }
.article-layout aside { align-self: start; position: sticky; top: 32px; font-size: 12px; line-height: 1.8; }
.article-layout aside > p { font-weight: 700; margin-bottom: 18px; }
.article-layout aside nav { display: grid; gap: 16px; color: #677185; border-left: 1px solid #dfe5f0; padding-left: 18px; }
.article-layout aside a:hover { color: var(--blue); }
.article-layout aside a[aria-current="location"] { color: var(--blue); font-weight: 700; }
.article-back { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); margin-top: 30px; }
.article-back svg { transform: rotate(180deg); }
.article-prose { font-size: 16px; line-height: 1.95; color: #4d586b; }
.article-prose h2 { font-size: 32px; line-height: 1.25; color: var(--ink); letter-spacing: -.02em; margin: 0 0 20px; }
.article-prose section { margin-bottom: 44px; scroll-margin-top: 30px; }
.article-prose section p + p { margin-top: 18px; }
.article-prose h3 { font-size: 20px; line-height: 1.4; color: var(--ink); margin: 28px 0 8px; }
.article-prose ul, .article-prose ol { margin: 0 0 18px; padding-left: 1.4em; }
.article-prose li { margin-bottom: 12px; padding-left: 4px; }
.article-prose li ul { margin: 10px 0 0; }
.article-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-prose strong { color: #182032; }
.article-table { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--blog-border); border-radius: 12px; }
.article-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--blog-border); }
.article-table tr:last-child td { border-bottom: 0; }
.article-table th { color: #182032; background: #f6f8ff; font-weight: 600; }
.article-disclosure { font-size: 12px; padding: 14px 18px; border-left: 2px solid #b9ccff; background: #f6f8ff; margin-bottom: 32px; }
.article-end { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--blog-border); padding-top: 28px; font-size: 13px; }
.article-end p { font-size: 12px; } .article-end strong { color: #182032; }
.article-related { border-top: 1px solid var(--blog-border); padding-top: 48px; margin-bottom: 80px; }
.article-related > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.article-related > div > a { display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 13px; }
@media (min-width: 1700px) { .blog-container, .blog-page .ending-container { max-width: 1440px; } }
@media (max-width: 1100px) {
  .blog-container, .blog-page .ending-container { width: calc(100% - 64px); }
  .blog-intro { padding-block: 64px 54px; } .blog-intro::before { left: -32px; right: -32px; }
  .featured-story { min-height: 440px; } .featured-copy { min-height: 440px; padding: 40px; width: 57%; }
  .featured-copy h2 { font-size: 34px; } .featured-description { font-size: 14px; max-width: 300px; }
  .blog-toolbar { gap: 20px; } .blog-filters { gap: 12px; } .blog-filters button { font-size: 11px; padding-inline: 2px; }
  .blog-search { width: 220px; min-width: 180px; }
  .story-grid { gap: 40px 24px; } .story-card h3 { font-size: 23px; } .story-card a > p { font-size: 13px; }
  .blog-meta { gap: 10px; font-size: 10px; } .blog-meta > span + span { padding-left: 10px; }
  .article-layout { gap: 40px; grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 850px) {
  .blog-toolbar { align-items: stretch; flex-direction: column; } .blog-search { width: 100%; }
  .blog-filters { justify-content: space-between; } .blog-filters button { font-size: 12px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-copy { width: 62%; padding: 36px; } .featured-copy h2 { font-size: 32px; }
}
@media (max-width: 760px) {
  .blog-container, .blog-page .ending-container { width: calc(100% - 40px); }
  .blog-intro { padding: 48px 0 38px; } .blog-intro::before { inset: -20px -20px -60px; background-size: 180% 130%; }
  .blog-intro h1 { font-size: clamp(35px, 7.2vw, 54px); line-height: 1.1; }
  .blog-intro > p { font-size: 14px; line-height: 1.8; max-width: 340px; margin: 20px auto 0; }
  .featured-story { display: flex; flex-direction: column; min-height: 0; border-radius: 22px; }
  .featured-copy { order: -1; width: 100%; min-height: 0; padding: 30px 28px 22px; background: #f4f6ff; }
  .featured-label { font-size: 10px; margin-bottom: 17px; }
  .featured-copy h2 { font-size: 31px; } .featured-description { margin-top: 16px; max-width: 360px; }
  .featured-bottom { margin-top: 18px; } .featured-bottom .blog-meta { font-size: 11px; }
  .read-story { width: 42px; height: 42px; margin-top: 20px; }
  .featured-art { position: relative; z-index: 0; aspect-ratio: 1.8; margin-top: -1px; }
  .featured-art img { object-position: right; }
  .latest-stories { padding-top: 44px; } .stories-heading h2, .article-related h2 { font-size: 32px; }
  .stories-heading > span { font-size: 11px; }
  .blog-toolbar { margin: 20px 0 28px; gap: 20px; }
  .blog-filters { flex: none; width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; gap: 0 22px; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filters button { min-height: 44px; padding: 10px 0 14px; font-size: 11px; }
  .blog-filters button:first-child { padding-inline: 0; }
  .story-grid { gap: 34px 20px; }
  .story-card h3 { font-size: 23px; } .story-category { font-size: 10px; margin-top: 17px; }
  .story-card .blog-meta { flex-wrap: wrap; gap: 6px 10px; }
  .blog-cta { border-radius: 22px; padding: 38px 20px; margin: 44px 0 36px; }
  .blog-cta h2 { font-size: 38px; } .blog-cta .button { margin-top: 24px; }
  .blog-page .footer-grid { gap: 28px; }
  .article-breadcrumb { padding-top: 28px; } .article-heading { margin: 36px auto 28px; }
  .article-heading h1 { font-size: 42px; } .article-heading > p:not(.story-category) { font-size: 16px; }
  .article-cover { aspect-ratio: 1.65; margin-bottom: 32px; border-radius: 18px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; margin-bottom: 44px; }
  .article-layout aside { position: static; } .article-layout aside nav { gap: 10px; }
  .article-layout aside .article-back { display: none; }
  .article-prose { font-size: 15px; } .article-prose h2 { font-size: 28px; }
  .article-related { margin-bottom: 45px; }
}
@media (max-width: 480px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-card h3 { font-size: 26px; } .story-card a > p { font-size: 14px; margin-bottom: 14px; }
  .story-card .blog-meta { font-size: 11px; gap: 12px; }
  .story-card .blog-meta > span + span { padding-left: 12px; }
  .story-art { border-radius: 14px; } .blog-intro h1 { font-size: clamp(31px, 7.5vw, 36px); }
  .stories-heading h2 { font-size: 29px; }
  .featured-copy { padding-inline: 24px; } .featured-copy h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .blog-page * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Growth Lab ---- */
.lab-eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.lab-jump { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.lab-jump a { padding: 9px 18px; border-radius: 999px; background: rgba(20,32,52,.045); font-size: 14px; font-weight: 600; transition: background-color .18s, color .18s; }
.lab-jump a:hover { background: #e8eeff; color: var(--blue); }
.lab-section { padding: 56px 0 8px; scroll-margin-top: 110px; }
.lab-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--blog-border); padding-bottom: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.lab-heading h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.03em; font-weight: 500; }
.lab-heading p { color: var(--blog-muted); font-size: 15px; }
.lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lab-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lab-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 230px; border: 1px solid var(--blog-border); border-radius: 22px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lab-card h3 { font-size: 22px; line-height: 1.28; letter-spacing: -.02em; font-weight: 500; }
.lab-card p { color: var(--blog-muted); font-size: 14px; line-height: 1.75; }
.lab-card-link { transition: transform .22s, box-shadow .22s, border-color .22s; }
.lab-card-link:hover { transform: translateY(-4px); border-color: #c6d4ff; box-shadow: 0 14px 30px -14px #2e63ff40; }
.lab-card-link:hover h3 { color: var(--blue); }
.lab-card-soon { background: repeating-linear-gradient(135deg, #fafbff, #fafbff 12px, #f4f7ff 12px, #f4f7ff 24px); border-style: dashed; }
.lab-card-wide { min-height: 0; max-width: 760px; }
.lab-badge { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: #eef1f7; color: #566173; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.lab-badge-blue { background: #e8eeff; color: var(--blue); }
.lab-more { margin-top: auto; color: var(--blue); font-size: 14px; font-weight: 600; }
.lab-all { margin-top: 24px; font-size: 14px; font-weight: 600; }
.lab-all a { color: var(--blue); }
@media (max-width: 1100px) { .lab-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lab-grid, .lab-grid-4 { grid-template-columns: 1fr; } .lab-section { padding-top: 40px; } }
.featured-art img { filter: saturate(0.78) contrast(0.97); }
/* Journal pages share the home column */
.blog-container, .blog-page .ending-container { width: min(100% - 64px, 1200px); }
@media (min-width: 1700px) { .blog-container, .blog-page .ending-container { max-width: 1200px; } }
@media (max-width: 760px) { .blog-container, .blog-page .ending-container { width: calc(100% - 40px); } }
.lab-card.lab-card-soon { background: rgba(255, 255, 255, 0.8); border-style: solid; }
