/* Blog pages and content chapters on the homepage. */
.site-journal [hidden] { display: none !important; }
.site-journal { --journal-ink: #2B2A29; --journal-red: #D91E24; --journal-line: #D5D4D0; }
.site-journal .top.site-header { padding-inline: max(var(--gx, 24px), calc((100% - 1320px) / 2 + var(--gx, 24px))); }
@media (min-width: 1501px) {
  .site-journal .site-nav { gap: 12px; }
  .site-journal .site-nav a { font-size: 13px; }
  .site-journal .top-tel { width: 32px; justify-content: center; }
  .site-journal .top-tel span { display: none; }
}
.journal { max-width: 1320px; margin: 0 auto; padding: calc(var(--site-top) + 38px) var(--gx, 24px) 80px; color: var(--journal-ink); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; font: 400 13px/1.5 var(--f-sans); color: #66625E; }
.breadcrumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid #AAA6A1; }
.journal-kicker, .post-category { display: block; font: 600 12px/1.4 var(--f-sans); color: var(--journal-red, #D91E24); }
.journal-heading { max-width: 760px; margin-bottom: 32px; }
.journal h1 { font: 650 clamp(38px, 4.5vw, 68px)/1.08 var(--f-disp); margin: 14px 0 20px; letter-spacing: -.02em; }
.journal h1 em { color: var(--journal-red); font-style: normal; }
.journal-heading > p:last-child { max-width: 650px; font: 400 17px/1.65 var(--f-sans); }
.journal-tools { margin-bottom: 24px; display: grid; gap: 18px; }
.journal-search { display: grid; gap: 8px; max-width: 520px; font: 500 13px/1.5 var(--f-sans); }
.journal-search input { width: 100%; min-width: 0; padding: 13px 16px; background: #FAFAF7; color: #2B2A29; border: 1px solid #B7B4AE; border-radius: 8px; font: 400 16px/1.5 var(--f-sans); }
.journal-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.journal-filters button { border: 1px solid #B7B4AE; border-radius: 30px; padding: 9px 16px; color: #2B2A29; background: transparent; cursor: pointer; font: 500 13px/1.4 var(--f-sans); }
.journal-filters button[aria-pressed="true"] { background: #2B2A29; color: #FFF; border-color: #2B2A29; }
.article-count { font: 400 13px/1.4 var(--f-sans); color: #66625E; margin: 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #D1CFC9; border-radius: 12px; background: #FAFAF7; color: #2B2A29; }
.post-card:focus-within { outline: 2px solid #D91E24; outline-offset: 3px; }
.post-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-image img { transform: scale(1.025); }
.post-card-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 20px; gap: 12px; }
.post-card :is(h2, h3) { font: 650 23px/1.2 var(--f-disp); margin: 0; }
.post-card :is(h2, h3) a { color: inherit; text-decoration: none; }
.post-card :is(h2, h3) a:hover { color: #D91E24; }
.post-excerpt { font: 400 14px/1.55 var(--f-sans); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; color: #6B665F; font: 400 12px/1.5 var(--f-sans); }
.post-card .post-meta { margin-top: auto; padding-top: 4px; }
.journal-empty { padding: 35px 0; font: 400 16px/1.6 var(--f-sans); }
.journal-cta { margin-top: 48px; border: 1px solid #D1CFC9; border-left: 4px solid #E32125; border-radius: 8px; padding: 28px; background: #FAFAF7; }
.journal-cta h2 { font: 650 28px/1.2 var(--f-disp); margin: 0 0 12px; }
.journal-cta p { margin: 0 0 20px; font: 400 16px/1.6 var(--f-sans); }
.journal-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 12px 22px; color: white; background: #E32125; border-radius: 30px; font: 700 15px/1.4 var(--f-sans); text-decoration: none; }
.journal-text-link { display: inline-block; color: #BF1B21; text-decoration: none; border-bottom: 1px solid currentColor; font: 500 14px/1.5 var(--f-sans); }
.journal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.article-header { max-width: 900px; }
.article-header h1 { font-size: clamp(34px, 4vw, 58px); }
.article-header .post-meta { margin-bottom: 24px; }
.article-lead { font: 400 19px/1.65 var(--f-sans); max-width: 800px; margin-bottom: 30px; }
.article-cover { margin: 0 0 42px; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 21/10; object-fit: cover; display: block; border-radius: 12px; }
.article-cover figcaption { margin-top: 8px; color: #6B665F; font: 400 12px/1.5 var(--f-sans); }
.article-layout { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.article-toc { position: sticky; top: calc(var(--site-top) + 24px); }
.article-toc details { border-block: 1px solid #B7B4AE; padding: 14px 0; }
.article-toc summary { cursor: pointer; font: 600 14px/1.4 var(--f-sans); }
.article-toc nav { display: grid; gap: 12px; margin-top: 18px; }
.article-toc a { color: #4E4B46; font: 400 13px/1.5 var(--f-sans); text-decoration: none; }
.article-toc a:hover { color: #D91E24; }
.article-text { max-width: 750px; min-width: 0; font: 400 17px/1.75 var(--f-sans); }
.article-text section { margin-bottom: 34px; scroll-margin-top: calc(var(--site-top) + 20px); }
.article-text h2 { font: 650 30px/1.2 var(--f-disp); margin: 0 0 16px; }
.article-text p { margin: 0 0 18px; }
.article-text strong { font-weight: 700; }
.article-checklist { padding: 24px; border-radius: 10px; background: #FAFAF7; border: 1px solid #D1CFC9; }
.article-checklist ul { padding-left: 22px; margin-bottom: 0; }
.article-checklist li { margin-top: 9px; }
.article-source { font-size: 13px; line-height: 1.6; color: #6B665F; }
.article-source a { color: inherit; }
.related-posts { margin-top: 65px; padding-top: 32px; border-top: 1px solid #B7B4AE; }
.related-posts > h2 { font: 650 34px/1.2 var(--f-disp); margin: 0 0 24px; }
.related-posts > .journal-text-link { margin-top: 24px; }
.chapter-layout { position: absolute; z-index: 5; inset: calc(var(--site-top) + 28px) var(--gx) calc(var(--fr) + 118px); display: flex; flex-direction: column; gap: 26px; }
.chapter-heading { flex: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.chapter-heading .eyebrow { margin-bottom: 14px; }
.chapter-heading .h2 { font-size: clamp(34px, 3.5vw, 58px); }
.chapter-heading .more { margin: 0; flex: none; }
.chapter-body { flex: 1; min-height: 0; }
.home-posts { height: 100%; }
.home-posts .post-image { flex: 0 1 45%; min-height: 85px; }
.home-posts .post-card-copy { padding: 18px; gap: 10px; }
.home-posts .post-card h3 { font-size: clamp(18px, 1.6vw, 25px); }
.home-posts .post-excerpt { font-size: 13px; }
.reviews-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: center; }
.reviews-layout .chapter-heading { display: block; }
.reviews-layout .lead { margin-top: 20px; max-width: 430px; font-size: 17px; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.review-links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: #FAFAF7; color: #2B2A29; border: 1px solid #B7B4AE; border-radius: 30px; text-decoration: none; font: 500 14px/1.4 var(--f-sans); }
.review-links b { font-weight: 700; color: #D91E24; }
.review-links a:last-child b { color: #267D3F; }
.review-widget { width: 100%; max-width: 760px; height: 100%; min-height: 0; max-height: 580px; justify-self: end; background: #FFF; border: 1px solid #D1CFC9; border-radius: 12px; overflow: hidden; }
.review-widget iframe { width: 100%; height: 100%; border: 0; display: block; }
html.site-home:has(#reviews.on .review-widget:hover) .xh { opacity: 0; transition: none; }
.review-note { margin-top: 16px; font: 400 13px/1.5 var(--f-sans); }
.review-note a { color: inherit; }
.review-cards { display: none; }
.review-card { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px; background: #FAFAF7; border: 1px solid #D1CFC9; border-radius: 12px; color: #2B2A29; }
.review-mark { color: #D91E24; font: 650 46px/.7 var(--f-disp); }
.review-card blockquote { margin: 0; font: 500 24px/1.35 var(--f-sans); }
.review-author { font: 600 14px/1.4 var(--f-sans); margin: 0; }
.review-card a { color: #625D57; font: 400 12px/1.5 var(--f-sans); }
@media (max-width: 760px), (max-height: 700px) {
  .review-widget { display: none; }
  .review-cards { display: flex; height: 100%; overflow-x: auto; gap: 12px; scrollbar-width: thin; scroll-snap-type: x mandatory; }
  .review-card { flex: 0 0 88%; scroll-snap-align: start; }
}
@media (max-width: 1100px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-posts .post-excerpt { display: none; } .article-layout { gap: 30px; grid-template-columns: 190px minmax(0, 1fr); } }
@media (max-width: 760px) {
  .journal { padding: calc(var(--site-top) + 24px) 22px 48px; }
  .breadcrumbs { gap: 8px; margin-bottom: 25px; font-size: 12px; }
  .journal h1 { font-size: clamp(32px, 8.7vw, 42px); margin: 10px 0 16px; }
  .journal-heading { margin-bottom: 24px; }
  .journal-heading > p:last-child { font-size: 15px; line-height: 1.6; }
  .journal-filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 7px; scrollbar-width: thin; }
  .journal-filters button { flex: none; white-space: nowrap; }
  .posts-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post-card-copy { padding: 18px; gap: 10px; }
  .post-card :is(h2, h3) { font-size: 23px; }
  .post-excerpt { font-size: 14px; }
  .journal-cta { padding: 22px 20px; margin-top: 32px; }
  .journal-cta h2 { font-size: 25px; }
  .journal-cta p { font-size: 15px; }
  .article-header h1 { font-size: clamp(30px, 8vw, 38px); }
  .article-lead { font-size: 16px; line-height: 1.65; }
  .article-cover { margin-bottom: 26px; }
  .article-cover img { aspect-ratio: 4/3; }
  .article-layout { display: flex; flex-direction: column; gap: 28px; }
  .article-toc { position: static; width: 100%; }
  .article-text { font-size: 16px; line-height: 1.7; }
  .article-text h2 { font-size: 26px; }
  .article-checklist { padding: 20px 18px; }
  .related-posts { margin-top: 40px; }
  .related-posts > h2 { font-size: 28px; }
  .chapter-layout { inset: calc(var(--site-top) + 12px) var(--gx) var(--mobile-cta-space, 112px); gap: 20px; }
  .chapter-heading { align-items: start; flex-wrap: wrap; gap: 10px; }
  .chapter-heading .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .chapter-heading .h2 { font-size: clamp(27px, 7.5vw, 32px); line-height: 1.1; }
  .chapter-heading .more { font-size: 13px; }
  .home-posts { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 5px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .home-posts .post-card { flex: 0 0 86%; scroll-snap-align: start; }
  .home-posts .post-card h3 { font-size: 21px; }
  .home-posts .post-card-copy { padding: 14px; gap: 8px; }
  .home-posts .post-excerpt { display: none; }
  .home-posts .post-image { height: 42%; }
  .home-posts .post-meta { display: none; }
  .reviews-layout { display: flex; gap: 18px; align-items: stretch; }
  .reviews-layout .lead { display: none; }
  .review-links { gap: 8px; margin-top: 16px; }
  .review-links a { padding: 8px 13px; font-size: 12px; }
  .review-widget { flex: 1; max-height: none; }
  .review-note { margin-top: 10px; font-size: 12px; }
  .review-card { padding: 18px; gap: 12px; }
  .review-mark { display: none; }
  .review-card blockquote { font-size: clamp(18px, 5.4vw, 22px); line-height: 1.35; }
  .review-author { font-size: 12px; }
  .review-card a { font-size: 11px; line-height: 1.4; }
}
@media (max-width: 760px) and (max-height: 650px) { .review-note { display: none; } }
@media (prefers-reduced-motion: reduce) { .post-image img { transition: none; } }
