/* Blog: calm spacing and hierarchy, whole semantic cards. */
:root body .post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:22px 0 40px}
:root body .post-grid>.post-card{display:flex;min-width:0;margin:0;padding:0;border:1px solid #e0e3e6;border-radius:14px;overflow:hidden;background:#fff;box-shadow:none}
:root body .post-card-link{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;color:#24282c;text-decoration:none;transition:background .15s,box-shadow .15s}
:root body .post-card-link:hover{background:#fffdf7;box-shadow:inset 0 0 0 2px #bd9641}
:root body .post-card-link:focus-visible{outline:3px solid #18334d;outline-offset:-4px;box-shadow:inset 0 0 0 3px #18334d}
:root body .post-card-link>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;margin:0;border-radius:0}
:root body .post-card-copy{display:flex;flex-direction:column;gap:12px;padding:24px;flex:1;min-width:0}
:root body .post-card-copy h3{margin:0;color:#24282c;font-size:23px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
:root body .post-card-copy p{margin:0;color:#24282c!important;font-size:16px;line-height:1.65;font-weight:400}
:root body .post-topic,.article-topics span{font-size:13px;line-height:1.4;font-weight:600;color:#343434;background:#f5eddb;padding:6px 10px;border-radius:6px;align-self:flex-start}
:root body .post-card-copy .post-read{margin-top:auto;padding-top:6px;font-weight:600;font-size:14px}
:root body article.research-article .editorial-intro{padding:30px 0 22px;border-bottom:1px solid #e5e2da;margin-bottom:24px}
:root body article.research-article .editorial-intro h1{font-size:clamp(34px,4.5vw,52px)!important;line-height:1.12;letter-spacing:-.025em;margin:12px 0 22px;font-weight:600;color:#24282c}
:root body .article-topics{display:flex;gap:8px;flex-wrap:wrap;margin:0}
:root body article.research-article .editorial-body :is(p,li){font-weight:400;color:#24282c!important;font-size:18px;line-height:1.8}
:root body article.research-article .editorial-body p{margin:0 0 1.2em}
:root body article.research-article .editorial-body ul{padding-left:1.5em;margin:.7em 0 1.35em}
:root body article.research-article .editorial-body li{margin:.55em 0}
:root body article.research-article .editorial-body :is(em,i){font-family:inherit;font-weight:inherit;font-style:italic}
:root body.h-library .library-stat dd,:root body.h-library .library-stat .stat-value{letter-spacing:-.065em!important;font-weight:600!important;font-kerning:normal}
:root body.h-library .library-stat dt{letter-spacing:normal!important;font-weight:400!important}
:root body .language-article-link{margin:24px 0;padding:16px 0;border-top:1px solid #e2dfd7}
:root body .language-article-link a{color:#18334d;text-underline-offset:4px;font-weight:500}
:root body .language-article-link a:hover{color:#795a16}
:root body .language-article-link a:focus-visible{outline:2px solid #18334d;outline-offset:4px}
@media(max-width:1000px){:root body .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){:root body .post-grid{grid-template-columns:minmax(0,1fr);gap:20px}:root body .post-card-copy{padding:22px}:root body article.research-article .editorial-intro{padding-top:16px}}
@media(prefers-reduced-motion:reduce){:root body .post-card-link{transition:none}}

/* Shared Blog card ring: paint above both image and copy, inside the existing clipping radius. */
:root body .post-card-link{position:relative;isolation:isolate;border-radius:13px}
:root body .post-card-link::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:2px solid transparent;border-radius:inherit;box-sizing:border-box}
:root body .post-card-link:hover{box-shadow:none}
:root body .post-card-link:hover::after{border-color:#bd9641}
:root body .post-card-link:focus-visible{outline:none;box-shadow:none}
:root body .post-card-link:focus-visible::after{border:3px solid #18334d}
:root body .home-blog{margin-top:48px;border-top:1px solid #e5e2da;padding-top:30px}
:root body .home-blog .h-section-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
:root body .home-blog .h-section-top h2{margin:0}
:root body .home-blog .h-section-top>a{color:#18334d;text-underline-offset:4px;font-size:15px}
