/* Journal and article pages */
.blog-page { background: #fff; }
.blog-width { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.blog-intro { padding: 58px 0 42px; text-align: center; }
.blog-kicker { display: inline-block; font-size: 11px; font-weight: 500; color: #0033cc; letter-spacing: .1em; margin-bottom: 18px; }
.blog-intro h1 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(38px,4.2vw,58px); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; margin: 0; }
.blog-intro > p { font-size: 15px; color: #636c79; line-height: 1.7; margin: 20px auto 0; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9ecf1; border-radius: 22px; padding: 8px; min-width: 0; }
.blog-image { overflow: hidden; border-radius: 15px; aspect-ratio: 1.55; background: #edf1f7; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 750ms cubic-bezier(.16,1,.3,1); }
.blog-card-copy { display: flex; flex-direction: column; flex: 1; padding: 22px 18px 14px; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11px; color: #727b88; }
.blog-category { background: #f0f3f9; color: #303b50; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 500; }
.blog-card h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 23px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; margin: 20px 0 30px; }
.blog-card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: #697381; }
.blog-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #eaf0ff; color: #0033ff; transition: background-color 250ms ease, color 250ms ease, transform 350ms cubic-bezier(.16,1,.3,1); }
.blog-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.blog-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.blog-card:focus-visible .blog-arrow { background: var(--blue); color: #fff; transform: rotate(-35deg); }
.blog-card:focus-visible .blog-image img { transform: scale(1.035); }
@media (hover: hover) and (pointer: fine) {
  .blog-card:hover .blog-arrow { background: var(--blue); color: #fff; transform: rotate(-35deg); }
  .blog-card:hover .blog-image img { transform: scale(1.035); }
  .blog-card:hover .blog-card-bottom { color: #0033cc; }
}
.blog-featured { display: grid; grid-template-columns: 1.08fr 1fr; }
.blog-featured .blog-image { aspect-ratio: auto; min-height: 360px; }
.blog-featured .blog-card-copy { padding: 28px 32px 20px; }
.blog-featured h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(28px,3vw,38px); line-height: 1.15; font-weight: 400; letter-spacing: -.035em; margin: 38px 0 16px; }
.blog-featured .blog-card-copy > p { color: #697381; font-size: 14px; line-height: 1.8; margin: 0 0 28px; max-width: 380px; }
.blog-latest { padding: 56px 0 64px; }
.blog-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.blog-section-heading h2 { font: 400 26px/1.2 "Bricolage Grotesque", sans-serif; letter-spacing: -.025em; margin: 0; }
.blog-section-heading > span { font-size: 12px; color: #697381; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.blog-page footer { background: #fff; }
.article-intro { max-width: 840px; padding: 48px 0 32px; }
.article-back { display: inline-block; font-size: 14px; color: #0033cc; }
.article-meta { font-size: 12px; color: #697381; margin: 38px 0 18px; }
.article-meta span { padding: 0 10px; }
.article-intro h1 { font: 400 clamp(36px,4vw,56px)/1.08 "Bricolage Grotesque",sans-serif; letter-spacing: -.04em; margin: 0; }
.article-intro > p { font-size: 18px; color: #626c79; line-height: 1.75; margin: 22px 0 0; }
.article-body { width: min(760px,calc(100% - 64px)); margin: 0 auto; padding-bottom: 80px; }
.article-cover { width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: 18px; margin-bottom: 48px; }
.article-body h2 { font: 500 27px/1.3 "Bricolage Grotesque",sans-serif; letter-spacing: -.025em; margin: 36px 0 16px; }
.article-body p { font-size: 16px; line-height: 1.9; color: #4f5967; margin: 0 0 24px; }
.article-body > .article-back { margin-top: 24px; }
@media (max-width: 980px) {
 .blog-width { width: calc(100% - 40px); }
 .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .blog-featured .blog-card-copy { padding: 24px; }
 .blog-featured h2 { font-size: 29px; margin-top: 24px; }
}
@media (max-width: 640px) {
 .blog-width { width: calc(100% - 32px); }
 .blog-intro { padding: 40px 0 32px; }
 .blog-intro > p { font-size: 14px; }
 .blog-featured { display: flex; }
 .blog-featured .blog-image { aspect-ratio: 1.45; min-height: 0; }
 .blog-featured h2 { font-size: 28px; margin-top: 20px; }
 .blog-featured .blog-card-copy { padding: 22px 18px 14px; }
 .blog-grid { grid-template-columns: 1fr; gap: 24px; }
 .blog-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
 .blog-latest { padding: 40px 0; }
 .article-intro { padding-top: 32px; }
 .article-intro > p { font-size: 16px; }
 .article-body { width: calc(100% - 32px); }
 .article-body p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 .blog-image img,.blog-arrow { transition: none; }
 .blog-card:hover .blog-image img,.blog-card:focus-visible .blog-image img { transform: none; }
}

/* Category navigation */
.blog-kicker.blog-pill { display: inline-flex; align-items: center; gap: 10px; background: #f0f1f3; color: #3e4652; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 14px; letter-spacing: 0; font-weight: 400; padding: 7px 16px; }
.blog-pill::before { content: ""; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.blog-browser { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #e5e8ed; padding: 24px 0; margin-bottom: 8px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters button { border: 0; border-radius: 999px; background: transparent; color: #69717d; padding: 9px 16px; font: 400 14px Poppins, sans-serif; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.blog-filters button[aria-pressed="true"] { background: #fff; color: #0033cc; box-shadow: 0 0 0 1px #e5e8ed; }
.blog-filters button:hover { color: #0033cc; background: #eef2fb; }
.blog-search { display: flex; align-items: center; gap: 10px; width: 240px; flex-shrink: 0; padding: 10px 16px; background: #eff0f2; border: 1px solid #e3e5e9; border-radius: 999px; }
.blog-search svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: #818894; stroke-width: 1.7; stroke-linecap: round; }
.blog-search input { min-width: 0; width: 100%; border: 0; background: transparent; font: 400 14px Poppins, sans-serif; color: #303744; outline: none; }
.blog-search input::placeholder { color: #818894; }
.blog-search:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.blog-filters button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.blog-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.blog-empty { text-align: center; padding: 64px 0 80px; font-size: 15px; color: #626c79; }
.blog-card[hidden], .blog-feature-section[hidden], .blog-latest[hidden], .blog-empty[hidden] { display: none; }
@media (max-width: 850px) {
 .blog-browser { flex-wrap: wrap; gap: 16px; }
 .blog-filters { gap: 4px; }
 .blog-filters button { padding-inline: 12px; }
}
@media (max-width: 640px) {
 .blog-search { width: 100%; }
 .blog-browser { padding: 20px 0; }
 .blog-filters button { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .blog-filters button { transition: none; } }

/* Answers and the shared closing banner follow the article grid. */
.blog-faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; padding: 40px 0 32px; border-top: 1px solid #e1e6ed; }
.blog-faq-heading .blog-kicker { margin-bottom: 16px; }
.blog-faq-heading h2 { font: 400 34px/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -.035em; margin: 0; }
.blog-faq-list details { border-bottom: 1px solid #e1e6ed; }
.blog-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 15px; line-height: 1.5; font-weight: 500; cursor: pointer; list-style: none; }
.blog-faq-list summary::-webkit-details-marker { display: none; }
.blog-faq-list summary span { font-size: 22px; line-height: 1; color: #727b88; font-weight: 400; transition: transform 200ms ease; }
.blog-faq-list details[open] summary span { transform: rotate(45deg); }
.blog-faq-list p { font-size: 14px; line-height: 1.8; color: #626c79; margin: 0 28px 24px 0; }
.blog-faq-list p a { color: #0033cc; text-decoration: underline; text-underline-offset: 3px; }
.blog-faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.blog-page .blog-final { padding: 48px 0 64px; }
@media (max-width: 850px) {
 .blog-faq { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
 .blog-faq-heading h2 br { display: none; }
}
@media (max-width: 640px) {
 .blog-faq-heading h2 { font-size: 30px; }
 .blog-faq-list summary { font-size: 14px; }
 .blog-page .blog-final { padding: 32px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { .blog-faq-list summary span { transition: none; } }

/* Keep the text on the featured article artwork fully visible. */
.blog-featured .blog-feature-artwork img { object-fit: contain; }

/* Published feature article content within the shared Blog shell. */
.published-article h2[id] { scroll-margin-top: 100px; }
.published-article h3 { font: 500 21px/1.4 "Bricolage Grotesque", sans-serif; margin: 28px 0 14px; }
.published-article :is(ul,ol) { padding-left: 24px; margin: 20px 0 28px; font-size: 16px; line-height: 1.9; color: #4f5967; }
.published-article li { margin-bottom: 10px; }
.published-article a:not(.article-back) { color: #0033cc; text-decoration: underline; text-underline-offset: 3px; }
.published-article .table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid #e1e6ed; border-radius: 12px; }
.published-article table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; line-height: 1.7; }
.published-article :is(th,td) { padding: 14px 18px; border-bottom: 1px solid #e1e6ed; text-align: left; vertical-align: top; }
.published-article th { background: #f0f3f8; font-weight: 500; }
.published-article tr:last-child td { border-bottom: 0; }

/* Related reading appears after article content, before the closing banner. */
.blog-related { padding: 40px 0 56px; border-top: 1px solid #e1e6ed; }
.blog-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.blog-related-heading h2 { font: 400 38px/1.15 "Bricolage Grotesque",sans-serif; letter-spacing: -.035em; margin: 0; }
.blog-back-button { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #e0e5ed; border-radius: 999px; padding: 6px 16px 6px 6px; background: #fff; color: #465160; font-size: 13px; transition: color 200ms ease, border-color 200ms ease; }
.blog-back-button span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eaf0ff; color: #0033ff; font-size: 18px; }
.blog-back-button:hover { color: #0033cc; border-color: #bbcaff; }
.blog-back-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 640px) {
 .blog-related { padding: 32px 0 40px; }
 .blog-related-heading { gap: 16px; }
 .blog-related-heading h2 { font-size: 30px; }
 .blog-back-button { font-size: 12px; padding-right: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .blog-back-button { transition: none; } }

/* Centered article masthead and wide cover, shared by every Blog article. */
.article-page { background: #eef2f8; }
.article-page .article-intro { width: min(1040px, calc(100% - 64px)); max-width: 1040px; text-align: center; padding: 44px 0 38px; }
.article-hero-back { margin-bottom: 28px; background: #fff; border-color: transparent; }
.article-page .article-intro h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -.04em; font-weight: 400; color: #292c31; margin: 0 auto; }
.article-category { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #fff; color: #626a76; font-size: 13px; line-height: 1.5; margin-top: 26px; }
.article-reading { width: min(960px, calc(100% - 64px)); margin-inline: auto; background: #fff; border-radius: 24px; }
.article-visual { width: 100%; margin-bottom: 0; }
.article-visual .article-cover { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border: 5px solid #fff; border-radius: 24px; margin: 0; }
.article-byline { font-size: 13px; line-height: 1.7; color: #697381; margin-bottom: 20px; }
.article-byline span { padding: 0 8px; }
.article-body .article-deck { font-size: 18px; line-height: 1.75; color: #505b6a; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid #dce2eb; }
@media (max-width: 640px) {
 .article-page .article-intro { width: calc(100% - 32px); padding: 32px 0 28px; }
 .article-page .article-intro h1 { font-size: 34px; line-height: 1.14; }
 .article-hero-back { margin-bottom: 24px; }
 .article-category { margin-top: 20px; }
 .article-reading { width: calc(100% - 32px); border-radius: 18px; }
 .article-visual { width: 100%; margin-bottom: 0; }
 .article-visual .article-cover { border-width: 4px; border-radius: 18px; }
 .article-body .article-deck { font-size: 16px; }
}

/* A quiet white reading surface and an editorial ending. */
.article-page .article-body { width: 100%; padding: 32px 40px 40px; background: #fff; border-radius: 0 0 24px 24px; }
.article-content { max-width: 760px; margin-inline: auto; }
.article-content h2:first-child { margin-top: 0; }
.article-ending { margin-top: 64px; }
.article-date { text-align: center; margin-bottom: 48px; }
.article-date time { display: inline-block; padding: 8px 20px; border-radius: 999px; background: #eef2f8; color: #505b6a; font-size: 13px; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; }
.article-body .article-pagination a { display: flex; align-items: center; gap: 20px; color: #414b59; font-size: 14px; line-height: 1.6; text-decoration: none; padding: 4px 28px 4px 0; }
.article-body .article-pagination a + a { border-left: 1px solid #e8ecf2; padding: 4px 0 4px 28px; }
.article-pagination .article-next { text-align: right; justify-content: flex-end; }
.article-pagination small { display: block; font-size: 11px; color: #697381; margin-bottom: 6px; }
.article-page-arrow { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: #eef2f8; color: #465160; font-size: 23px; transition: background-color 250ms ease, color 250ms ease, transform 350ms cubic-bezier(.16,1,.3,1); }
.article-pagination a:hover .article-page-arrow { background: #0033ff; color: #fff; }
.article-pagination .article-prev:hover .article-page-arrow { transform: translateX(-3px); }
.article-pagination .article-next:hover .article-page-arrow { transform: translateX(3px); }
.article-pagination a:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 8px; }
.article-page .blog-related { border-top: 0; margin-top: 24px; }
@media (max-width: 640px) {
 .article-page .article-body { width: 100%; padding: 24px 22px 28px; border-radius: 0 0 18px 18px; }
 .article-ending { margin-top: 40px; }
 .article-date { margin-bottom: 28px; }
 .article-pagination { grid-template-columns: 1fr; gap: 20px; }
 .article-body .article-pagination a { padding: 0; gap: 14px; font-size: 13px; }
 .article-body .article-pagination a + a { border-left: 0; border-top: 1px solid #e8ecf2; padding: 20px 0 0; }
 .article-page-arrow { width: 42px; height: 42px; flex-basis: 42px; }
}
@media (prefers-reduced-motion: reduce) {
 .article-page-arrow { transition: none; }
 .article-pagination a:hover .article-page-arrow { transform: none; }
}

.blog-load-more { display: flex; justify-content: center; margin-top: 36px; }
.blog-load-more .btn { gap: 16px; min-width: 150px; color: #fff; border-color: #0033ff; background: #0033ff; }
.blog-load-more .btn:hover { color: #fff; background: #0029cc; border-color: #0029cc; }
.blog-load-more .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.blog-load-more .btn[hidden] { display: none; }
.blog-load-more:has(.btn[hidden]) { display: none; }

/* Share the article itself, with the same controls on every article page. */
.article-share { max-width: 760px; margin: 32px auto 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.article-share-label { color: #626873; font-size: 14px; }
.article-share-actions { display: flex; align-items: center; gap: 12px; }
.article-body .article-share-button { appearance: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border: 0; border-radius: 50%; background: #f0f3f9; color: #394154; cursor: pointer; text-decoration: none; transition: color 200ms ease, background-color 200ms ease, transform 200ms ease; }
.article-share-button svg { width: 20px; height: 20px; }
.article-body .article-share-button:hover { color: #fff; background: #0033ff; transform: translateY(-2px); }
.article-share-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.article-share-status { min-height: 18px; font-size: 12px; color: #0033cc; }
.article-share-status input { display: block; width: min(300px,100%); font: inherit; border: 1px solid #d8e0f4; padding: 8px; border-radius: 8px; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .article-share-button { transition: none; } .article-body .article-share-button:hover { transform: none; } }

/* Team filters share the available row with search and wrap on smaller screens. */
.blog-browser { flex-wrap: wrap; }
.blog-filters { flex: 1 1 700px; gap: 4px; }
.blog-filters button { white-space: nowrap; font-size: 13px; padding-inline: 12px; }
@media (max-width: 640px) { .blog-filters { flex-basis: 100%; } }
