/* Life Over 50 — site styles */
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --paper: #fbf8f3;
  --card: #ffffff;
  --ink: #1d2733;
  --ink-2: #4a5562;
  --line: #e6dfd3;
  --sky: #3d86c6;
  --accent: #c0532d;
  --cat: #c0532d;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.wrap-wide { max-width: 1040px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sc { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* banner + masthead */
.notice { background: var(--ink); text-align: center; font-size: 1rem; }
.notice a { display: block; color: #fff; text-decoration: none; padding: 9px 16px; font-weight: 700; letter-spacing: .01em; }
.notice a:hover { text-decoration: underline; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.brand-mark { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 650; line-height: 1; letter-spacing: -0.02em; }
.brand-mark em { font-style: italic; font-weight: 400; color: var(--ink-2); }
.brand-mark .fifty { color: var(--sky); }
.brand-tag { color: var(--ink-2); font-size: 1rem; }
.search-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px; min-height: 48px; }
.search-link:hover { background: var(--ink); color: #fff; }
.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a { flex: none; text-decoration: none; font-weight: 700; padding: 14px 14px 12px; border-bottom: 4px solid transparent; }
.nav a:hover { border-bottom-color: var(--cat, var(--line)); }
.nav a[aria-current] { border-bottom-color: var(--cat, var(--ink)); }

/* archive header */
.archive-head { border-bottom: 1px solid var(--line); margin-bottom: 36px; background: linear-gradient(90deg, color-mix(in srgb, var(--cat) 10%, var(--paper)), var(--paper)); }
.archive-head .wrap { padding-top: 40px; padding-bottom: 34px; }
.archive-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 8px; }
.eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--cat); }
.lede { max-width: 62ch; color: var(--ink-2); margin: 0; font-size: 1.2rem; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 1px 3px rgba(29, 39, 51, .06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--line), 0 10px 24px rgba(29, 39, 51, .10); }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 4px solid var(--cat); }
.kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cat); text-decoration: none; }
.card-title { margin: 0; font-size: 1.35rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card-excerpt { margin: 0; color: var(--ink-2); }
.meta { margin: auto 0 0; font-size: .95rem; color: var(--ink-2); }

/* home */
.lead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin: 36px 0 56px; }
.card.lead .card-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.card.lead .card-img { aspect-ratio: 16 / 10; }
.lead-side { display: grid; gap: 20px; }
.lead-side .card { flex-direction: row; }
.lead-side .card-img { flex: 0 0 38%; aspect-ratio: auto; }
.lead-side .card-body { border-top: 0; border-left: 4px solid var(--cat); }
.lead-side .card-title { font-size: 1.2rem; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.band-head h2 { margin: 0 0 10px; font-size: 1.9rem; }
.band-head a { font-weight: 700; text-decoration: none; color: var(--cat); white-space: nowrap; }
.band-head a:hover { text-decoration: underline; }
.latest, .cat-band { margin-bottom: 60px; }
.cat-band .band-head { border-bottom-color: var(--cat); }
.cat-band .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.more-all { text-align: center; margin: 0 0 64px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: #fff; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 48px 0 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager-step { font-weight: 700; text-decoration: none; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; }
a.pager-step:hover { background: var(--ink); color: #fff; }
.pager-step.off { opacity: .3; }
.pager-pos { color: var(--ink-2); }

/* article */
.post-head { padding-top: 44px; padding-bottom: 8px; }
.crumbs { font-size: .95rem; color: var(--ink-2); margin: 0 0 14px; }
.crumbs a { color: var(--cat); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 18px; }
.page .post-head h1 { margin-bottom: 10px; }
.standfirst { font-size: 1.3rem; color: var(--ink-2); margin: 0 0 16px; }
.byline { color: var(--ink-2); margin: 0 0 28px; }
.byline a { color: var(--ink); font-weight: 700; }
.hero { margin: 0 auto 40px; }
.hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.prose { font-size: 1.25rem; line-height: 1.75; font-weight: 420; }
.prose > * { margin-top: 0; margin-bottom: 1.1em; }
.prose h2 { font-size: 1.85rem; margin-top: 1.8em; margin-bottom: .6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.6em; margin-bottom: .5em; }
.prose h4 { font-size: 1.2rem; margin-top: 1.4em; margin-bottom: .4em; }
.prose a { color: #1f5f99; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cat); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--cat); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { border-radius: 8px; margin: 0 auto; }
.prose figcaption { font-size: 1rem; color: var(--ink-2); margin-top: 8px; text-align: center; }
.prose .alignright { float: right; margin: 6px 0 16px 24px; max-width: 45%; }
.prose .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 45%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.prose .gallery figure { margin: 0; }
.prose .gallery img { width: 100%; height: 100%; object-fit: cover; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f3eee6; }
.prose .video { position: relative; aspect-ratio: 16 / 9; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.prose::after { content: ""; display: table; clear: both; }

.post-foot { padding-bottom: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.tags a { font-size: .95rem; text-decoration: none; background: #efe9df; border-radius: 999px; padding: 6px 14px; }
.tags a:hover { background: var(--line); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-weight: 700; margin-right: 4px; }
.share a { text-decoration: none; font-weight: 700; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.share a:hover { border-color: var(--ink); }
.author-box { display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: var(--radius); padding: 18px 20px; }
.author-box p { margin: 0; }
.author-box a { font-weight: 700; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cat); color: #fff; font: 600 1.6rem var(--serif); }
.comments { margin-top: 48px; }
.comments h2 { font-size: 1.6rem; }
.comments ol { list-style: none; padding: 0; margin: 0; }
.comment { background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px; font-size: 1.05rem; }
.comment.reply { margin-left: 32px; border-left: 4px solid var(--cat); }
.comment-meta { margin: 0 0 6px; color: var(--ink-2); font-size: .95rem; }
.comment-meta strong { color: var(--ink); }
.comment-body p { margin: 0 0 .6em; }
.comment-body p:last-child { margin-bottom: 0; }
.comments-closed { color: var(--ink-2); font-size: 1rem; }
.related { margin-top: 32px; margin-bottom: 72px; }

/* pages */
.page .prose { padding-bottom: 64px; }
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sitemap-list .meta { font-size: .9rem; margin-left: 6px; }

/* forms */
.contact-form, .contact-card { background: var(--card); border-radius: var(--radius); padding: 28px; margin-bottom: 36px; box-shadow: 0 1px 0 var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=search], select, textarea { width: 100%; font: inherit; font-size: 1.15rem; color: var(--ink); background: #fff; border: 2px solid #c9c0b2; border-radius: 8px; padding: 12px 14px; min-height: 52px; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 25%, transparent); }
.hint { font-size: .95rem; color: var(--ink-2); margin: 6px 0 0; }
.hp { position: absolute; left: -5000px; }
.form-status { margin: 16px 0 0; font-weight: 700; }
.form-status.ok { color: #1f7a4d; }
.form-status.error { color: #b3261e; }
.contact-email { font-size: 1.5rem; font-weight: 700; margin: 0; }
.contact-card p:first-child { margin-top: 0; }
.prose address { font-style: normal; line-height: 1.6; }
.search-form { display: flex; gap: 10px; margin-bottom: 12px; }
.search-form button { font: inherit; font-weight: 700; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 0 24px; cursor: pointer; }
.prose .results { list-style: none; padding: 0; margin: 20px 0 0; }
.prose .results a { color: var(--ink); }
.results li { margin: 0 0 14px; }
.results a { display: flex; gap: 18px; align-items: flex-start; text-decoration: none; background: var(--card); border-radius: var(--radius); padding: 14px; }
.results a:hover strong { text-decoration: underline; }
.results img { width: 160px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; flex: none; margin: 0; }
.results strong { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; margin: 4px 0; }
.results .kicker { color: var(--accent); }
.r-ex { display: block; font-size: 1rem; color: var(--ink-2); line-height: 1.5; }

/* footer */
.footer { background: var(--ink); color: #e9edf2; margin-top: 24px; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.footer-grid p { margin: 0 0 12px; color: #c5ced8; font-size: 1.05rem; }
.footer-brand { font: 600 2rem/1 var(--serif) !important; color: #fff !important; }
.footer-brand em { font-weight: 400; }
.footer h2 { font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #9fb0c2; margin: 6px 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid #344252; padding-top: 18px; padding-bottom: 24px; font-size: .95rem; color: #9fb0c2; }

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .wrap, .wrap-narrow, .wrap-wide { padding: 0 18px; }
  .masthead-inner { padding-top: 18px; padding-bottom: 14px; }
  .brand-tag { display: none; }
  .search-link span { display: none; }
  .search-link { padding: 10px 12px; }
  .lead-side .card { flex-direction: column; }
  .lead-side .card-img { aspect-ratio: 3 / 2; }
  .lead-side .card-body { border-left: 0; border-top: 4px solid var(--cat); }
  .prose { font-size: 1.15rem; }
  .prose .alignright, .prose .alignleft { float: none; margin: 0 0 1em; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .results img { width: 96px; }
  .comment.reply { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
