/* Shared reading and interaction refinements, November 2026. */
.home-v2 .v2-post-section > .v2-section-title { align-items: flex-start; flex-direction: column; gap: 22px; }
.home-v2 .v2-post-section .tags { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.home-v2 button.tag { font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; border: 1px solid var(--v2-line); }
.category-count { margin-left: 9px; opacity: .65; font-size: 12px; }
.home-v2 .container.v2-post-grid.is-categorized { display: block !important; }
.post-category { margin-bottom: 38px; }
.home-v2 .post-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; border-top: 1px solid var(--v2-line); background: transparent; box-shadow: none; }
.post-category-heading h3 { margin: 0; font-size: 21px; }
.post-category-heading p { margin: 7px 0 0; color: var(--v2-muted); font-size: 14px; }
.post-category-heading > span { white-space: nowrap; color: var(--v2-muted); font-size: 13px; }
.category-posts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.category-post { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--v2-line); border-radius: 16px; text-decoration: none; color: var(--v2-text); background: var(--v2-surface); }
.category-post:hover { border-color: var(--v2-accent); }
.category-post-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--v2-muted); font-size: 12px; }
.category-post h4 { margin: 18px 0 8px; font-size: 20px; line-height: 1.5; }
.category-post p { margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: var(--v2-muted); }
.category-post-action { margin-top: auto; color: var(--v2-accent); font-size: 14px; }
.category-empty { padding: 36px 16px; text-align: center; color: var(--v2-muted); }
@media(max-width:650px) { .category-posts { grid-template-columns: 1fr; } .category-post { padding: 20px; } }
.home-v2 .v2-hero { min-height: 360px; padding-block: 48px; }
.home-v2 .v2-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.2; }
.home-v2 .v2-post-section { margin: 16px 0 64px; scroll-margin-top: 100px; }
.home-v2 .v2-about { margin-top: 32px; }
.home-v2 .v2-eyebrow { font-size: 12px; letter-spacing: .12em; }
.home-v2 .v2-section-title p { font-size: 15px; line-height: 1.7; }
.home-v2 .v2-activity-list small,
.home-v2 .v2-blog-stats small,
.home-v2 .v2-mood small,
.home-v2 .v2-feature-card small,
.home-v2 .v2-fortune-result > div,
.home-v2 .v2-fortune-result p { font-size: 13px; line-height: 1.7; }
.home-v2 .v2-activity-list b { font-size: 15px; }
.home-v2 .v2-dashboard { margin-block: 40px; }
.home-v2 .v2-nav a { white-space: nowrap; }
.home-v2 :is(button, a, input, textarea):focus-visible,
.admin-body :is(button, a, input, textarea, select):focus-visible {
  outline: 3px solid #bc5263; outline-offset: 4px;
}
.home-v2 button:disabled { opacity: .6; cursor: wait; transform: none; }
.home-v2 :is(button, input, textarea) { font: inherit; }
.home-v2 .v2-feedback { white-space: normal; line-height: 1.6; max-width: min(440px, calc(100vw - 32px)); }
.home-v2 #articleContent { max-width: 76ch; margin-inline: auto; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.home-v2 #articleContent :is(h1,h2,h3) { line-height: 1.4; text-wrap: balance; scroll-margin-top: 110px; }
.home-v2 #articleContent h2 { margin: 2.2em 0 .8em; }
.home-v2 #articleContent h3 { margin: 1.8em 0 .6em; }
.home-v2 #articleContent p { margin-block: 1em; }
.home-v2 #articleContent li { margin-block: .45em; }
.home-v2 #articleContent img { max-width: 100%; height: auto; }
.home-v2 #articleContent figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--v2-muted); }
.home-v2 #articleContent pre { max-width: 100%; overflow-x: auto; font-size: 14px; line-height: 1.75; overflow-wrap: normal; }
.home-v2 #articleContent table { display: block; max-width: 100%; overflow-x: auto; font-size: 15px; }
.home-v2 #articleContent th { white-space: nowrap; }
.home-v2 #articleContent :is(td,th) { padding: 12px 16px; min-width: 100px; }
.home-v2 #articleContent blockquote { border-left: 3px solid var(--v2-accent); line-height: 1.85; }
.home-v2 #articleContent .tech-pill { font-size: 12px; }
.home-v2 #articleContent .tech-hero h1 { font-size: clamp(28px,4vw,42px); }
@media (max-width: 880px) {
  .home-v2 .v2-header { flex-wrap: wrap; gap: 12px; }
  .home-v2 .v2-nav { display: flex; order: 3; width: 100%; gap: 24px; overflow-x: auto; padding: 6px 2px 12px; }
  .home-v2 .v2-nav a { min-height: 32px; display: flex; align-items: center; }
  .home-v2 .v2-controls { flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 650px) {
  .home-v2 .v2-header { position: relative; }
  .home-v2 .v2-hero { padding-block: 32px; gap: 20px; }
  .home-v2 .v2-hero-art { min-height: 210px; }
  .home-v2 .v2-hero-art img { max-height: 210px; }
  .home-v2 .v2-art-blob { width: 195px; height: 195px; }
  .home-v2 .v2-controls { gap: 8px; }
  .home-v2 .v2-search-box { flex-basis: 100%; }
  .home-v2 .v2-search-box input { box-sizing: border-box; min-height: 44px; }
  .home-v2 .v2-controls :is(button,a) { min-height: 44px; }
  .home-v2 .v2-nav { justify-content: space-between; gap: 12px; font-size: 14px; }
  .home-v2 #articleContent { font-size: 16px; line-height: 1.9; }
  .home-v2 .v2-post-section { margin-bottom: 40px; }
  .home-v2 .v2-background-picker { top: 160px; max-height: 65vh; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
