.blog-page { background: #f5f8fd; color: #18324e; }
.blog-hero, .blog-article-hero { background: #086cf4; color: white; padding: 52px 0; }
.blog-eyebrow { margin: 0 0 18px; text-transform: uppercase; font-weight: 800; font-size: 12px; letter-spacing: .12em; line-height: 1.6; }
.blog-hero h1 { margin: 0 0 24px; color: white; font-size: clamp(36px,4.6vw,60px); line-height: 1.1; letter-spacing: -.04em; }
.blog-hero p:not(.blog-eyebrow) { font-size: 17px; line-height: 1.75; max-width: 710px; margin: 0 0 24px; color: #f0f6ff; }
.blog-hero-tag { display: inline-block; font-size: 12px; padding: 8px 13px; border: 1px solid #86baff; border-radius: 6px; color: white; }
.blog-archive { padding-top: 38px; padding-bottom: 48px; }
.blog-tools { display: flex; gap: 32px; align-items: end; justify-content: space-between; }
.blog-search { flex: 0 1 480px; }
.blog-search label { display: block; font-size: 14px; font-weight: 750; color: #123f73; margin-bottom: 10px; }
.blog-search input { display: block; width: 100%; min-height: 48px; padding: 11px 14px; background: white; border: 1px solid #bacce2; border-radius: 7px; font: inherit; font-size: 14px; color: #18324e; }
.blog-search input::placeholder { color: #5a6d82; opacity: 1; }
.blog-origin-note { max-width: 460px; color: #526880; font-size: 13px; line-height: 1.7; margin: 0; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.blog-filters button { font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 9px 13px; color: #234c7a; border: 1px solid #c6d6ea; border-radius: 6px; background: white; cursor: pointer; }
.blog-filters button[aria-pressed="true"] { color: white; background: #074994; border-color: #074994; }
.blog-filters button:hover { border-color: #086cf4; }
.blog-results { font-size: 12px; color: #526880; margin: 22px 0 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.blog-card { position: relative; min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid #d9e4f0; border-radius: 11px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: white; background: #e2ebf6; }
.blog-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-cover-contain img { object-fit: contain; }
.blog-cover span { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 9px; border-radius: 4px; font-size: 11px; font-weight: 750; text-align: left; line-height: 1.5; background: #063a7aee; }
.blog-theme-0 { background: linear-gradient(115deg,#086cf4,#0753b5); }
.blog-theme-1 { background: linear-gradient(115deg,#073e8b,#052b61); }
.blog-theme-2 { background: linear-gradient(115deg,#0753b5,#086cf4); }
.blog-theme-3 { background: linear-gradient(115deg,#124e76,#073e8b); }
.blog-theme-4 { background: linear-gradient(115deg,#123c72,#0862bd); }
.blog-theme-5 { background: linear-gradient(115deg,#154b80,#076bba); }
.blog-translation-label { color: #074994; font-weight: 800; }
.blog-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px; }
.blog-card-meta { font-size: 11px; line-height: 1.6; color: #5a6d82; margin: 0 0 12px; }
.blog-card h2 { margin: 0 0 15px; font-size: 21px; line-height: 1.35; letter-spacing: -.025em; color: #083f89; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a::after { content: ''; position: absolute; inset: 0; cursor: pointer; }
.blog-card h2 a:hover, .blog-card h2 a:focus-visible { text-decoration: none; }
.blog-card:focus-within { outline: 3px solid #086cf4; outline-offset: 3px; border-color: #086cf4; box-shadow: 0 10px 26px #123e7514; }
.blog-card-excerpt { font-size: 14px; line-height: 1.75; color: #4e647b; margin: 0; }
@media (hover: hover) and (pointer: fine) {
 .blog-card:hover { transform: translateY(-4px); border-color: #8bb7ee; box-shadow: 0 12px 28px #123e751a; }
}
@media (prefers-reduced-motion: reduce) {
 .blog-card { transition: none; }
 .blog-card:hover { transform: none; }
}
.blog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.blog-more { display: block; margin: 30px auto 0; padding: 14px 24px; border: 1px solid #ec1735; border-radius: 7px; color: white; background: #ec1735; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.blog-more:hover { background: white; color: #074994; border-color: #b8cfff; }
.blog-card[hidden], .blog-more[hidden], .blog-empty[hidden] { display: none; }
.blog-empty { padding: 24px; border-radius: 8px; border: 1px solid #d9e4f0; background: white; color: #4e647b; line-height: 1.7; }
.blog-source-link { margin-top: 32px; color: #526880; font-size: 13px; line-height: 1.75; }
.blog-source-link a { color: #0753ac; text-underline-offset: 4px; }
.blog-reading-width.wrap { max-width: 860px; }
.blog-back { color: white; font-size: 13px; text-underline-offset: 4px; }
.blog-article-hero { padding: 28px 0 38px; }
.blog-article-hero .blog-eyebrow { margin-top: 30px; }
.blog-article-hero h1 { margin: 0 0 22px; font-size: clamp(31px,3.7vw,48px); line-height: 1.18; letter-spacing: -.035em; color: white; }
.blog-article-meta { font-size: 13px; color: #edf5ff; margin: 0; line-height: 1.7; }
.blog-original-author { margin: 12px 0 0; color: #edf5ff; font-size: 14px; line-height: 1.7; }
.blog-article-content { padding-top: 32px; padding-bottom: 42px; }
.blog-article-layout.wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; max-width: 1180px; align-items: start; }
.blog-article-heading { min-width: 0; max-width: 1020px; }
.blog-article-main { min-width: 0; }
.blog-article-main > article { padding: 32px; border: 1px solid #d9e4f0; border-radius: 10px; background: white; min-width: 0; overflow-wrap: anywhere; }
#blog-article-start { scroll-margin-top: 28px; }
#blog-article-start:focus { outline: none; }
.blog-article-image { margin: 0 0 28px; }
.blog-article-image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.blog-article-image figcaption { margin-top: 10px; color: #5a6d82; font-size: 11px; line-height: 1.6; }
.blog-article-image figcaption a { color: #315f90; text-underline-offset: 3px; }
.blog-inline-image { margin: 26px 0; }
.blog-inline-image > a { display: block; border: 1px solid #d5e3f5; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.blog-inline-image img { display: block; width: 100%; height: auto; }
.blog-inline-image figcaption { margin-top: 9px; color: #5a6d82; font-size: 11px; line-height: 1.6; }
.blog-code { max-width: 100%; overflow: auto; margin: 24px 0; padding: 18px; border: 1px solid #d1deee; border-radius: 7px; background: #f3f7fc; color: #18324e; font-size: 12px; line-height: 1.7; tab-size: 2; white-space: pre; overflow-wrap: normal; }
.blog-code:focus-visible { outline: 3px solid #f5aa24; outline-offset: 3px; }
.blog-article-content article > p { color: #3e5670; font-size: 16px; line-height: 1.9; margin: 0 0 22px; }
.blog-article-content article > .blog-article-lede { color: #153f70; font-size: 19px; font-weight: 650; line-height: 1.7; }
.blog-article-content h2 { margin: 28px 0 18px; color: #083f89; font-size: 24px; line-height: 1.3; }
.blog-article-content h3 { margin: 24px 0 12px; color: #123f73; font-size: 19px; line-height: 1.4; }
.blog-section-heading { scroll-margin-top: 28px; }
.blog-section-heading:focus { outline: none; }
.blog-section-heading:focus-visible { outline: 2px solid #086cf4; outline-offset: 6px; border-radius: 2px; }
.blog-toc { position: sticky; top: 24px; align-self: start; margin: 0; padding: 20px 14px; border: 1px solid #d5e3f5; border-radius: 9px; background: #fff; box-shadow: 0 4px 18px #123e7508; z-index: 4; min-width: 0; }
.blog-toc-panel > summary { display: block; padding: 0 8px 16px; list-style: none; color: #123f73; font-size: 16px; line-height: 1.4; font-weight: 800; }
.blog-toc-panel > summary::-webkit-details-marker { display: none; }
.blog-toc-current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; color: #5a6d82; margin-top: 6px; }
.blog-toc-scroll { max-height: calc(100vh - 185px); max-height: calc(100dvh - 185px); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #b9cde6 transparent; padding: 3px; }
.blog-toc-list { list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.55; }
.blog-toc-list li + li { margin-top: 4px; }
.blog-toc-list .blog-toc-subitem { margin-left: 10px; }
.blog-toc-list a { display: block; padding: 8px 10px; border-left: 2px solid transparent; border-radius: 0 5px 5px 0; color: #456383; text-decoration: none; overflow-wrap: anywhere; }
.blog-toc-list a:hover { color: #0753ac; background: #f1f6fd; text-decoration: none; }
.blog-toc-list a[aria-current="location"] { color: #074994; border-left-color: #086cf4; background: #eaf3ff; font-weight: 750; }
.blog-toc-top { display: block; margin: 15px 8px 0; padding-top: 13px; border-top: 1px solid #d5e3f5; font-size: 12px; line-height: 1.6; font-weight: 700; color: #194f8f; text-decoration: none; }
.blog-toc-top:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-toc-panel > summary:focus-visible { outline: 3px solid #f5aa24; outline-offset: 3px; }
.blog-article-content article > p a, .blog-translation-list a { color: #0753ac; text-underline-offset: 4px; }
.blog-translation-list { color: #3e5670; font-size: 16px; line-height: 1.9; padding-left: 24px; margin: 0 0 24px; }
.blog-translation-list li + li { margin-top: 12px; }
.blog-quote { margin: 24px 0; padding: 20px 24px; border-left: 3px solid #086cf4; background: #f2f7ff; }
.blog-quote blockquote { margin: 0; color: #234a75; font-size: 17px; line-height: 1.8; }
.blog-quote blockquote p { margin: 0; }
.blog-quote figcaption { color: #5a6d82; font-size: 12px; line-height: 1.6; margin-top: 12px; }
.blog-translation-table { overflow-x: auto; margin: 24px 0; border: 1px solid #d9e4f0; border-radius: 8px; }
.blog-translation-table table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.7; }
.blog-translation-table caption { padding: 14px 16px; text-align: left; color: #526880; background: #f3f7fd; }
.blog-translation-table th, .blog-translation-table td { padding: 16px; vertical-align: top; border-bottom: 1px solid #d9e4f0; }
.blog-translation-table th, .blog-translation-table td { overflow-wrap: anywhere; }
.blog-translation-table thead { color: white; background: #074994; }
.blog-translation-table tbody th { color: #123f73; width: 20%; }
.blog-translation-table:focus-visible { outline: 3px solid #f5aa24; outline-offset: 4px; }
.blog-key-points { padding-left: 21px; color: #3e5670; font-size: 15px; line-height: 1.8; margin: 0; }
.blog-key-points li + li { margin-top: 8px; }
.blog-original { margin-top: 30px; padding: 22px; border-left: 3px solid #086cf4; border-radius: 0 7px 7px 0; background: #f2f7ff; font-size: 13px; line-height: 1.8; color: #4e647b; }
.blog-original strong { display: block; margin-bottom: 10px; color: #173e6d; }
.blog-original p { margin: 10px 0 12px; }
.blog-original a { color: #0753ac; font-weight: 750; text-underline-offset: 4px; overflow-wrap: anywhere; }
.blog-related { margin-top: 32px; }
.blog-related h2 { font-size: 24px; }
.blog-related ul { list-style: none; padding: 0; margin: 0 0 24px; }
.blog-related li { border-bottom: 1px solid #d9e4f0; padding: 13px 0; }
.blog-related a { color: #164c88; font-size: 14px; line-height: 1.6; text-underline-offset: 4px; }
.blog-all { font-weight: 750; }
.blog-page a:focus-visible, .blog-page button:focus-visible, .blog-page input:focus-visible { outline: 3px solid #f5aa24; outline-offset: 4px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 1024px) {
 .blog-article-layout.wrap { display: block; max-width: 860px; }
 .blog-article-main { margin-top: 20px; }
 .blog-toc { top: 10px; padding: 14px; box-shadow: 0 5px 20px #123e7512; }
 .blog-toc-panel > summary { position: relative; padding: 0 28px 0 3px; cursor: pointer; font-size: 14px; }
 .blog-toc-panel > summary::after { content: ''; position: absolute; right: 6px; top: 5px; width: 8px; height: 8px; border-right: 2px solid #194f8f; border-bottom: 2px solid #194f8f; transform: rotate(45deg); }
 .blog-toc-panel[open] > summary::after { top: 9px; transform: rotate(225deg); }
 .blog-toc-scroll { max-height: min(42vh, 380px); max-height: min(42dvh, 380px); margin-top: 12px; }
 .blog-toc-top { margin-top: 10px; padding-top: 8px; }
 .blog-section-heading, #blog-article-start { scroll-margin-top: 158px; }
}
@media (max-width: 680px) {
 .blog-hero { padding: 36px 0; }
 .blog-tools { flex-direction: column; align-items: stretch; gap: 18px; }
 .blog-search { flex: none; }
 .blog-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .blog-card-body { padding: 22px; }
 .blog-archive { padding-top: 26px; }
 .blog-article-main > article { padding: 23px; }
 .blog-article-content article > p { font-size: 15px; }
 .blog-article-content article > .blog-article-lede { font-size: 17px; }
 .blog-original { padding: 18px; }
 .blog-translation-list { font-size: 15px; }
 .blog-toc-list { font-size: 13px; }
}
