/* Editorial layout, scoped to the blog landing page. */
.blog-editorial {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-block: calc(var(--header) + 55px) 100px;
}
.blog-sidebar { position: sticky; top: calc(var(--header) + 24px); }
.blog-sidebar > .eyebrow { font-size: 11px; }
.blog-sidebar h1 { margin-top: 12px; font-size: 66px; font-weight: 400; line-height: 1.08; letter-spacing: -.065em; }
.blog-sidebar h1 span { color: var(--accent); }
.blog-sidebar-lead { font-size: 20px; letter-spacing: -.035em; margin-top: 22px; }
.blog-sidebar-description { font-size: 14px; color: var(--muted); margin-top: 12px; }
.blog-sidebar .blog-search { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.blog-sidebar .blog-search input { width: 100%; padding: 13px 12px; font-size: 13px; }
.blog-sidebar .blog-search .button { flex: 0 0 46px; min-height: 48px; padding: 12px; }
.blog-topic-menu { margin-top: 23px; border-bottom: 1px solid var(--line); }
.blog-topic-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px 20px; cursor: pointer; font-size: 14px; list-style: none; }
.blog-topic-menu summary::-webkit-details-marker { display: none; }
.blog-topic-menu summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.blog-topic-menu summary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform .2s; }
.blog-topic-menu[open] summary svg { transform: rotate(180deg); }
.blog-sidebar .blog-categories { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0 0 20px; }
.blog-sidebar .blog-categories a { padding: 5px 0; }
.blog-follow { margin-top: 25px; }
.blog-follow > p { font-size: 13px; }
.blog-follow nav { display: flex; gap: 10px; margin-top: 12px; }
.blog-follow a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.blog-follow a:hover { background: var(--accent); border-color: var(--accent); }
.blog-follow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.blog-follow .social-dot { fill: currentColor; stroke: none; }
.blog-editorial-content { min-width: 0; }
.blog-spotlight { background: var(--blue); color: white; padding: 40px 40px 0; }
.blog-spotlight-copy { max-width: 740px; padding-bottom: 32px; }
.blog-home main .blog-spotlight .eyebrow { color: var(--accent); font-size: 11px; }
.blog-spotlight h2 { font-size: clamp(30px, 3.1vw, 45px); line-height: 1.2; margin-top: 20px; }
.blog-spotlight h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; }
.blog-spotlight .blog-byline, .blog-spotlight .blog-byline a { color: #c4d6e2; }
.blog-spotlight .blog-byline { font-size: 12px; }
.blog-spotlight .text-link { margin-top: 24px; border-color: var(--accent); }
.blog-home .blog-editorial .text-link { gap: 16px; justify-content: flex-start; }
.blog-spotlight .blog-image img { aspect-ratio: 16 / 8; }
.blog-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.blog-pick { display: flex; flex-direction: column; align-items: flex-start; background: var(--soft); padding: 27px 23px; }
.blog-pick .eyebrow { font-size: 10px; }
.blog-pick h2 { margin-block: 36px 25px; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.3; letter-spacing: -.04em; }
.blog-pick h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.blog-pick .text-link { margin-top: auto; font-size: 13px; border-color: #b7c8d2; }
.blog-library { padding-top: 75px; }
.blog-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.blog-library-heading .eyebrow { font-size: 11px; }
.blog-library-heading h2 { font-size: clamp(30px, 3vw, 42px); margin-top: 14px; }
.blog-library-heading > span { flex-shrink: 0; font-size: 12px; color: var(--muted); padding-bottom: 5px; }
.blog-library .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
.blog-library .blog-card { display: flex; flex-direction: column; align-items: flex-start; }
.blog-library .blog-image { width: 100%; }
.blog-library .blog-card .blog-image img { aspect-ratio: 16 / 11; }
.blog-library .blog-card h3 { font-size: clamp(25px, 2.4vw, 32px); }
.blog-library .blog-card .blog-card-excerpt { margin-bottom: 24px; }
.blog-library .blog-card .text-link { margin-top: auto; }
.blog-pagination { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.blog-pagination > button, .blog-pagination > span { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; }
.blog-pagination > button:disabled { background: #f5f7f8; color: #84929c; cursor: not-allowed; opacity: 1; }
.blog-pagination > .pagination-current { background: var(--blue); border-color: var(--blue); color: var(--white); }
@media (max-width: 1100px) {
  .blog-editorial { grid-template-columns: 215px minmax(0, 1fr); gap: 30px; }
  .blog-spotlight { padding: 30px 30px 0; }
  .blog-picks { gap: 14px; }
  .blog-pick { padding: 23px 17px; }
}
/* Match the existing tablet navigation breakpoint: tools move above the feed. */
@media (max-width: 800px) {
  .blog-editorial { grid-template-columns: 1fr; gap: 35px; padding-top: calc(var(--header) + 35px); padding-bottom: 65px; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .blog-sidebar > .eyebrow, .blog-sidebar h1, .blog-sidebar-lead, .blog-sidebar-description { grid-column: 1 / -1; }
  .blog-sidebar h1 { font-size: 58px; }
  .blog-sidebar-lead { margin-top: 15px; }
  .blog-sidebar-description { max-width: 540px; margin-top: 8px; }
  .blog-sidebar .blog-search { grid-column: 1 / -1; margin-top: 24px; padding-top: 22px; }
  .blog-sidebar .blog-search-row { max-width: none; }
  .blog-sidebar .blog-search input { font-size: 16px; }
  .blog-topic-menu { align-self: start; }
  .blog-follow { margin-top: 23px; }
  .blog-follow nav { margin-top: 8px; }
  .blog-spotlight h2 { font-size: 36px; }
  .blog-pick h2 { font-size: 23px; }
}
@media (max-width: 600px) {
  .blog-pagination { gap: 8px; margin-top: 35px; padding-top: 25px; }
  .blog-pagination .pagination-label { display: none; }
  .blog-editorial { gap: 30px; padding-bottom: 50px; }
  .blog-sidebar { column-gap: 20px; }
  .blog-sidebar h1 { font-size: 52px; }
  .blog-spotlight { padding: 25px 22px 0; }
  .blog-spotlight h2 { font-size: clamp(29px, 7vw, 36px); }
  .blog-spotlight .blog-image img { aspect-ratio: 4 / 3; }
  .blog-spotlight-copy { padding-bottom: 25px; }
  .blog-picks { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .blog-pick { padding: 23px; }
  .blog-pick h2 { font-size: 26px; margin-block: 18px 22px; }
  .blog-library { padding-top: 48px; }
  .blog-library .blog-card-grid { grid-template-columns: 1fr; gap: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-topic-menu summary svg, .blog-follow a { transition: none; }
}
