:root {
  color-scheme: light;
  --ink: #303030;
  --muted: #777;
  --accent: #378749;
  --category: #80c483;
  --line: #e9e9e9;
  --page-width: 100vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.4; overflow-wrap: anywhere; }
ul { padding-left: 1.5rem; }
.container { width: 100%; padding-inline: 16px; margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 12px; background: white; }
.site-header { color: #333; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px #0000000d; }
.header-inner { display: flex; align-items: center; min-height: 65px; gap: 30px; }
.site-logo { flex-shrink: 0; }
.site-logo img { width: 200px; height: auto; }
.desktop-menu { display: flex; align-self: stretch; gap: 30px; }
.desktop-menu a { display: flex; align-items: center; font-size: 12px; font-weight: 400; text-transform: uppercase; }
.mobile-menu { display: none; }
.featured { position: relative; padding-block: 48px; }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.featured-story { position: relative; height: 700px; overflow: hidden; background: #424953; color: white; scroll-snap-align: start; border-radius: 4px; }
.featured-story > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.featured-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0001, #000a); pointer-events: none; }
.featured-text { position: absolute; inset: auto 0 0; z-index: 1; padding: 80px 120px 100px; }
.featured-text h2 { max-width: 720px; padding-bottom: 20px; margin-bottom: 20px; font-size: 40px; }
.featured-story .byline, .featured-story .post-categories a { color: #fff; }
.featured-story .post-categories a { background: var(--category); }
.featured-pagination { position: absolute; inset: auto 0 8px; display: flex; justify-content: center; gap: 10px; }
.featured-pagination a { display: grid; place-items: center; min-width: 32px; min-height: 32px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 28%; gap: 78px; margin-block: 96px; }
.post-stream { min-width: 0; }
.stream-heading { margin-bottom: 40px; font-size: 26px; }
.story-card { margin-bottom: 48px; background: #fff; border-radius: 3px; box-shadow: 0 2px 6px #00000012; overflow: hidden; }
.story-card-content { display: flex; flex-direction: row-reverse; gap: 40px; padding: 32px; }
.story-card-text { flex: 1; min-width: 0; }
.story-card h2 { font-size: 28px; }
.story-card-image { flex: 0 0 36%; align-self: flex-start; }
.story-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.post-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.post-categories a { display: inline-block; padding: 4px 10px; border-radius: 16px; color: #fff; background: var(--category); font-size: 10px; font-weight: 400; text-transform: uppercase; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.byline a { font-weight: 600; }
.author-initial { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: #eeeeee; color: #666; font-size: 11px; }
.excerpt { color: #666; font-size: 15px; line-height: 1.7; margin: 20px 0 0; }
.search-form { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 32px; }
.search-form label { flex-basis: 100%; }
.search-form input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--muted); border-radius: 3px; font: inherit; }
.search-form button { padding: 12px 24px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: white; font: inherit; cursor: pointer; }
.search-results { padding-left: 24px; }
.search-results li { margin-block: 32px; }
.search-results h2 { font-size: 24px; }
.search-results p { overflow-wrap: anywhere; }
.story-card-footer { display: flex; justify-content: space-between; gap: 16px; padding: 16px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.category-sidebar { align-self: start; font-size: 14px; }
.category-sidebar h2 { padding: 0 0 24px; font-size: 14px; font-weight: 400; text-transform: uppercase; }
.category-sidebar ul { list-style: none; margin: 0; padding: 0; }
.category-sidebar li { padding: 7px 0; }
.pagination { display: flex; justify-content: center; gap: 20px; align-items: center; padding-top: 24px; font-size: 14px; }
.pagination a { padding: 12px 18px; border: 1px solid var(--line); }
.article-header { padding-block: 0 48px; text-align: center; }
.single-article:not(:has(.article-cover)) .article-header { padding-top: 48px; }
.article-header .post-categories { justify-content: center; }
.article-header h1 { margin-bottom: 20px; font-size: 42px; font-weight: 700; line-height: 1.3; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 880px; margin-inline: auto; padding-block: 24px; border-block: 1px solid var(--line); color: #666; }
.article-author { display: flex; align-items: center; gap: 12px; text-align: left; }
.article-author a, .article-date time, .meta-label { display: block; }
.meta-label { color: #999; font-size: 12px; }
.article-author .author-initial { flex-basis: 40px; width: 40px; height: 40px; font-size: 16px; }
.article-date { text-align: left; }
.comment-count { display: grid; place-items: center; min-width: 42px; min-height: 36px; color: #fff; background: var(--category); border-radius: 3px; font-size: 14px; font-weight: 700; }
.article-cover { margin-block: 48px; }
.article-cover img { width: 100%; max-height: 725px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 24px #0002; }
.article-body { width: calc((var(--page-width) - 32px) * .9); margin: 64px auto; color: #000; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.5em; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { margin: 1.5em 0 .75em; line-height: 1.3; }
.article-body h2 { font-size: 1.75em; }
.article-body h3 { font-size: 1.4em; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body img, .article-body video { max-width: 100%; height: auto; }
.article-body figure { max-width: 100%; margin: 2em auto; }
.article-body figcaption, .wp-caption-text { color: var(--muted); font-size: 14px; text-align: center; }
.article-body pre { max-width: 100%; padding: 24px; overflow-x: auto; color: #ddd; background: #25272d; border-radius: 3px; font: 14px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: normal; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
.article-body :not(pre) > code { padding: 2px 5px; background: #f3f3f3; border-radius: 2px; }
.article-body blockquote { margin: 2em 0; padding: 8px 24px; border-left: 4px solid var(--accent); font-style: italic; color: #666; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body td, .article-body th { padding: 8px 12px; border: 1px solid var(--line); }
.article-body hr { margin-block: 40px; border: 0; border-top: 1px solid var(--line); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 24px 20px 0; }
.alignright { float: right; margin: 0 0 20px 24px; }
.article-body::after { content: ""; display: block; clear: both; }
.article-end { width: calc(100% - 32px); max-width: 1100px; padding-bottom: 20px; margin-inline: auto; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 500px; margin: 0; list-style: none; padding: 0; }
.tag-list a { display: inline-block; padding: 8px 16px; border: 1px solid #ddd; border-radius: 24px; background: #fafafa; font-size: 14px; }
.modified-date { color: var(--muted); font-size: 12px; }
.article-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin-inline: auto; border: 1px solid #ddd; border-radius: 6px; background: #fafafa; }
.article-navigation > * { min-width: 0; min-height: 164px; padding: 36px; }
.article-navigation > * + * { border-left: 1px solid #ddd; }
.article-navigation a { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.article-navigation a > div { min-width: 0; }
.article-navigation a[rel="next"] { flex-direction: row-reverse; text-align: right; }
.article-navigation .navigation-empty { text-align: right; }
.article-navigation .navigation-empty:first-child { text-align: left; }
.article-navigation span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.article-navigation strong { display: block; font-size: 26px; line-height: 1.4; overflow-wrap: anywhere; }
.article-navigation img { flex: 0 0 125px; width: 125px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.related-posts { padding-block: 50px 64px; }
.related-posts h2 { margin-bottom: 30px; font-size: 20px; text-transform: uppercase; }
#comments > h2 { font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.related-grid > article { min-width: 0; overflow: hidden; border-radius: 7px; box-shadow: 0 2px 12px #0002; }
.related-image { display: block; }
.related-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-text { padding: 22px 32px; }
.related-grid h3 { margin-bottom: 0; font-size: 24px; }
#comments { max-width: 880px; margin: 0 auto 80px; padding-top: 32px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.comment-list { list-style: none; padding: 0; }
.comment-list > li { padding-top: 24px; }
.comment-list .comment-list { margin-left: min(4vw, 40px); padding-left: 16px; border-left: 1px solid var(--line); }
.comment-list article { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.comment-list header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.comment-list time { color: var(--muted); font-size: 12px; }
.comment-list a { text-decoration: underline; }
#respond { margin-top: 32px; padding: 24px; color: var(--muted); background: #fafafa; }
.site-footer { color: var(--muted); background: #fafafa; border-top: 1px solid var(--line); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 32px; }
.standalone-page { padding-block: 64px; }
.standalone-page .article-body { width: 100%; }

@media (min-width: 576px) { :root { --page-width: 540px; } .container { max-width: 540px; } }
@media (min-width: 768px) { :root { --page-width: 720px; } .container { max-width: 720px; } }
@media (min-width: 992px) { :root { --page-width: 960px; } .container { max-width: 960px; } }
@media (min-width: 1200px) { :root { --page-width: 1140px; } .container { max-width: 1140px; } }
@media (min-width: 1400px) { :root { --page-width: 1320px; } .container { max-width: 1320px; } }
@media (min-width: 1800px) { .article-extras { max-width: 1640px; } }
@media (max-width: 1199px) {
  .story-card-content { gap: 24px; padding: 24px; }
  .story-card h2 { font-size: 24px; }
  .featured-text { padding-inline: 60px; }
}
@media (max-width: 991px) {
  .header-inner { position: relative; min-height: 65px; justify-content: center; }
  .desktop-menu { display: none; }
  .mobile-menu { display: block; position: absolute; left: 16px; top: 15px; z-index: 5; }
  .mobile-menu summary { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; list-style: none; font-size: 13px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::before { content: "\2630"; font-size: 16px; }
  .mobile-menu nav { min-width: 220px; margin-top: 12px; padding: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px #0002; }
  .mobile-menu nav a { display: block; padding: 12px; }
  .listing-layout { grid-template-columns: minmax(0, 1fr); margin-block: 48px 64px; }
  .featured { padding-block: 16px; }
  .featured-pagination { bottom: -16px; }
  .featured-story { height: 500px; }
  .featured-text { padding: 0 20px 40px; }
  .category-sidebar { margin-top: 16px; }
  .article-header { padding-block: 0 16px; }
  .article-navigation > * { padding: 24px; }
  .article-navigation img { flex-basis: 80px; width: 80px; }
  .article-navigation strong { font-size: 20px; }
}
@media (max-width: 767px) {
  .story-card-content { display: block; padding: 16px; }
  .story-card-content::after { content: ""; display: block; clear: both; }
  .story-card-image { float: right; width: 28%; margin: -16px -16px 8px 16px; }
  .story-card-text { display: contents; }
  .story-card h2 { font-size: 24px; }
  .story-card-footer { padding-inline: 24px; }
  .story-card { margin-bottom: 32px; }
  .featured-text h2 { font-size: 24px; }
  .article-cover { margin-block: 16px; }
  .article-header h1 { font-size: 26px; }
  .article-meta { flex-wrap: wrap; }
  .article-date { margin-left: auto; }
  .article-body { margin-block: 64px; }
  .article-body pre { padding: 16px; }
  .article-meta { gap: 12px; }
  .article-navigation { grid-template-columns: minmax(0, 1fr); }
  .article-navigation > * { min-height: 0; padding: 20px 16px; }
  .article-navigation > * + * { border-left: 0; border-top: 1px solid #ddd; }
  .article-navigation a { gap: 16px; }
  .article-navigation img { flex: 0 0 80px; width: 80px; }
  .article-navigation strong { font-size: 17px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .related-text { padding: 20px; }
  .related-grid h3 { font-size: 22px; }
  .alignleft, .alignright { float: none; margin-inline: auto; }
}
@media (max-width: 575px) {
  .site-logo img { width: 200px; height: auto; }
  .listing-layout { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .article-extras, .tag-list { display: none; }
  .article-body { width: 100%; font-size: 12pt; }
  .article-header { padding: 0; }
}
