.blog-page [hidden] { display: none !important; }
.notes-intro .page-intro-inner { padding-top: 4rem; padding-bottom: 3.6rem; }
.notes-intro h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: .8rem; }
.notes-intro .page-title-row p { max-width: 650px; }
.notes-shell { max-width: 1180px; margin: auto; padding: 2.6rem 1.5rem 5rem; }
.notes-tools { display: grid; gap: 1.2rem; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--green); background: var(--white); }
.notes-search-label { display: block; margin-bottom: .5rem; font: 800 .82rem/1.3 var(--sans); }
.notes-search-row { display: flex; gap: .6rem; }
.notes-search-row input { min-width: 0; width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid #bdcbce; border-radius: 4px; background: #fbfcfc; color: var(--ink); font: 1rem/1.4 var(--sans); }
.notes-search-row button { min-height: 48px; padding: .6rem 1rem; border: 1px solid #9aadb4; border-radius: 4px; background: var(--white); color: var(--navy); font: 700 .85rem/1 var(--sans); cursor: pointer; }
.notes-filter-label { margin-bottom: .6rem; font: 800 .82rem/1.3 var(--sans); }
.notes-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.notes-filter { min-height: 40px; padding: .55rem 1rem; border: 1px solid #c7b789; border-radius: 30px; background: var(--cream); color: var(--navy); font: 700 .82rem/1.3 var(--sans); cursor: pointer; }
.notes-filter:hover { border-color: var(--green); }
.notes-filter[aria-pressed="true"] { color: var(--white); background: var(--green); border-color: var(--green); }
.notes-status { margin: 0; font: .82rem/1.5 var(--sans); color: var(--muted); }
.notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.note-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: 0 10px 28px rgba(4,42,68,.05); }
.note-card-featured { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold-light); color: var(--white); }
.note-category { margin: 0 0 1rem; color: var(--green); font: 800 .73rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.note-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; color: var(--muted); font: .8rem/1.5 var(--sans); }
.note-author { padding-left: 1rem; border-left: 1px solid var(--line); }
.note-card h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.15; }
.note-title-link { color: inherit; text-decoration: none; }
.note-title-link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.note-excerpt { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.04rem; }
.note-read { align-self: flex-start; margin-top: auto; color: var(--green); font: 800 .9rem/1.5 var(--sans); text-decoration: none; }
.note-read:hover { text-decoration: underline; text-underline-offset: 3px; }
.note-card-featured h2, .note-card-featured .note-read { color: var(--white); }
.note-card-featured .note-category { color: var(--gold-light); }
.note-card-featured .note-meta, .note-card-featured .note-excerpt { color: #dce8ef; }
.notes-empty { grid-column: 1 / -1; padding: 2.5rem; background: var(--cream); border-left: 4px solid var(--gold); }
.notes-empty h2 { font-size: 1.8rem; }
.notes-help { margin: 2.2rem 0 0; padding: 1.4rem 1.6rem; background: var(--cream); border-left: 4px solid var(--gold); color: var(--muted); }
.notes-help p { margin: 0; }
.notes-help a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.note-reader { max-width: 850px; margin: auto; padding: 3rem 1.5rem 5rem; outline: none; }
.note-back { display: inline-block; margin-bottom: 1.6rem; color: var(--green); font: 800 .88rem/1.5 var(--sans); text-decoration: none; }
.note-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.note-article { padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.note-article h1 { font-size: clamp(2.3rem, 5vw, 3.65rem); line-height: 1.08; margin-bottom: 1.2rem; }
.note-deck { padding: 1.2rem 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #455e6c; font-size: 1.15rem; }
.note-body { font-size: 1.08rem; line-height: 1.85; }
.note-body p { margin-bottom: 1.25rem; }
.note-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.note-actions .button { line-height: 1.4; }
.note-return { margin-top: 2rem; margin-bottom: 0; }
.blog-page a:focus-visible, .blog-page button:focus-visible, .blog-page input:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
#notes-title:focus { outline: none; }
@media (max-width: 680px) {
  .notes-intro .page-intro-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .notes-shell { padding: 1.6rem 1rem 3.5rem; }
  .notes-tools { padding: 1.1rem; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card { padding: 1.5rem; }
  .note-reader { padding: 1.7rem 1rem 3.5rem; }
  .note-article { padding: 1.6rem 1.25rem; }
  .note-body { font-size: 1.02rem; }
  .note-actions { flex-direction: column; }
  .notes-help { padding: 1.2rem; }
}
