/* EmpireCMS integration and accessibility refinements. */
img { height: auto; }
.lf-header-grid { grid-template-columns: 190px minmax(0, 1fr) 150px; }
.lf-wordmark .custom-logo-link { display: block; line-height: 1; }
.lf-wordmark .custom-logo { width: 112px; height: auto; object-fit: contain; }
.lf-wordmark-fallback { text-decoration: none; }
.lf-wordmark-fallback strong { display: block; color: #287f65; font: 700 32px/1 var(--lf-sans); letter-spacing: -.065em; }
.lf-nav .menu,
.lf-mobile-nav .menu,
.lf-footer .menu { list-style: none; margin: 0; padding: 0; }
.lf-nav .menu { display: flex; justify-content: center; align-items: center; gap: 28px; }
.lf-nav li { margin: 0; }
.lf-nav a { display: inline-block; }
.lf-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.lf-nav .current-menu-item > a,
.lf-nav .current_page_item > a { box-shadow: inset 0 -1px currentColor; }
.lf-mobile-nav summary { list-style: none; }
.lf-mobile-nav summary::-webkit-details-marker { display: none; }
.lf-mobile-nav summary::after { content: ' +'; }
.lf-mobile-nav[open] summary::after { content: ' −'; }
.lf-mobile-nav nav .menu { display: flex; flex-direction: column; gap: 12px; }
.lf-mobile-nav nav li { margin: 0; }
.lf-footer nav .menu { display: flex; flex-direction: column; gap: 8px; }
.lf-footer nav .menu a { font-size: 12px; text-decoration: none; color: rgba(255,255,255,.7); }
.lf-footer nav .current-menu-item > a,
.lf-footer nav .current_page_item > a { color: #fff; }
.lf-form-card button { cursor: pointer; }
.lf-form-card button[disabled] { cursor: wait; opacity: .65; }
.lf-form-card input,
.lf-form-card select,
.lf-form-card textarea { border-bottom-color: #536c62; }
.lf-field-required::after { content: ' *'; color: #8f3124; }
.lf-form-status { padding: 15px 17px; margin: 0 0 24px; border-left: 4px solid var(--lf-ink); background: #fff; font-size: 13px; }
.lf-form-status-success { border-color: #4f7a2b; background: #eef6e9; }
.lf-form-status-error { border-color: #9d3426; background: #fff0ed; }
.lf-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lf-privacy-note { color: var(--lf-muted); font-size: 11px; margin: 18px 0 0; }
.lf-privacy-note a { font-weight: 700; text-underline-offset: .18em; }
.lf-editor-content { max-width: 820px; margin: 0 auto; padding: 80px 32px; }
.lf-editor-content > *:first-child { margin-top: 0; }
.lf-editor-content a { text-decoration: underline; text-underline-offset: .18em; }
.lf-post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.lf-post-card { padding: 28px; background: #fff; border: 1px solid var(--lf-line); }
.lf-post-card h2 { font-size: 29px; }
.lf-post-card h2 a { text-decoration: none; }
.lf-post-card p { color: var(--lf-muted); font-size: 13px; }
.lf-pagination { margin-top: 44px; }
.lf-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--lf-line); text-decoration: none; }
.lf-pagination .current { background: var(--lf-ink); color: #fff; }
.lf-edit-link { display: block; width: min(var(--lf-max), calc(100% - 64px)); margin: 18px auto; font-size: 12px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #111; display: block; font-size: 14px; height: auto; left: 16px; padding: 14px 18px; top: 16px; width: auto; z-index: 100000; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #111; }
.lf-form-card input:focus-visible,
.lf-form-card select:focus-visible,
.lf-form-card textarea:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #111; }
.lf-page-hero em { color: inherit; }

@media (max-width: 1050px) {
  .lf-header-grid { grid-template-columns: 180px 1fr; }
  .lf-mobile-nav { grid-column: 2; grid-row: 1; }
  .lf-proof-band .lf-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-proof-band .lf-shell > div { min-width: 0; overflow-wrap: anywhere; }
  .lf-proof-band .lf-shell > div:nth-child(3) { border-left: 1px solid var(--lf-line); }
}

@media (max-width: 720px) {
  .lf-post-list { grid-template-columns: 1fr; }
  .lf-edit-link { width: calc(100% - 36px); }
  .lf-footer nav .menu { gap: 10px; }
  .lf-proof-band .lf-shell { grid-template-columns: 1fr; }
  .lf-proof-band .lf-shell > div,
  .lf-proof-band .lf-shell > div:nth-child(3) { border-left: 1px solid var(--lf-line); }
  .lf-hero-media { background-position: 74% center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
