:root {
  color-scheme: light;
  --ink: #2e4011;
  --green: #47651b;
  --border: #95cd42;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  color: var(--ink);
  background: url("design/sunlight.png") right top no-repeat fixed, url("design/paper.png") repeat fixed, #fff;
  font: 13px/1.5 Verdana, Geneva, Arial, Helvetica, sans-serif;
}
[hidden] { display: none !important; }
a { color: #6f956a; text-decoration: none; }
a:visited { color: #000; }
a:hover { color: #8fac8b; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #47651b;
  outline-offset: 3px;
}
button, input { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
button { color: var(--ink); background: #e2f1cb; border: 1px solid #648d25; border-radius: 3px; padding: .5rem .8rem; }
input[type="search"] { max-width: 100%; padding: .5rem; border: 1px solid #648d25; border-radius: 3px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.site-banner { height: 225px; background: url("design/header.png") center top no-repeat; }
.site-banner a { display: block; width: 100%; height: 100%; }
.site-nav, .site-sheet { width: 80%; max-width: 1200px; margin: 20px auto 0; }
.site-nav { padding: 3px 7px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.site-nav li + li { position: relative; }
.site-nav li + li::before { content: ""; position: absolute; left: -4px; width: 1px; height: 34px; background: url("design/menu-separator.png"); }
.site-nav a { display: block; padding: 0 32px; color: var(--green); border-radius: 3px 0; font-size: 16px; line-height: 34px; text-decoration: none; }
.site-nav a[aria-current], .site-nav .current-section { color: var(--ink); background: linear-gradient(rgba(85, 121, 32, .6), rgba(111, 157, 42, .6) 45%, rgba(85, 121, 32, .6)); }
.site-nav a:hover { color: #000; background: linear-gradient(to bottom, rgba(151,179,148,.5), rgba(180,200,177,.5) 50%, rgba(151,179,148,.5)); }
.menu-toggle { display: none; }
.site-sheet { display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
main { min-width: 0; }
.attachment-page { grid-template-columns: minmax(0, 1fr); }
.author-profile { display: flow-root; min-height: 120px; }
.author-avatar { float: left; margin: 7px; padding: 1px; border: 1px solid #aaa; background: #fff; }
.author-avatar img { margin: 0; padding: 0; border: 0; }
.author-profile h1 { margin: 10px 0 0; font: 18px/1.2 "Trebuchet MS", Arial, sans-serif; }
.article { margin: 7px; padding: 3px; border-radius: 6px; overflow-wrap: anywhere; }
.page-title, .article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6, .related-pages h2 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: normal;
  line-height: 1.2;
}
.page-title { color: #304412; margin: 5px 0; padding: 6px 11px; border-radius: 10px; background: rgba(216,216,177,.8); font-size: 24px; }
.home-page .article-content > p:first-child:has(> a > img) { margin: 76px 0 42px; }
.article-content { display: flow-root; overflow-wrap: anywhere; }
.article-content p { margin: 12px 0; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { margin: 10px 0 0; }
.article-content h1 { font-size: 30px; color: #8ec936; }
.article-content h2 { font-size: 28px; color: #8ec936; }
.article-content h3 { font-size: 26px; color: #bcbc7b; }
.article-content h4 { font-size: 18px; }
.article-content h5 { font-size: 15px; }
.article-content h6 { font-size: 13px; color: #6c9929; }
.article-content img { box-sizing: content-box; max-width: calc(100% - 12px); height: auto; border: 1px solid var(--border); margin: 5px; }
.article-content a:has(img) { display: inline; }
.article-content ul, .article-content ol { padding: 0; margin: 1em 0 1em 11px; }
.article-content li { margin-top: 3px; color: #172009; }
.article-content ul { list-style: none; }
.article-content ul > li { padding-left: 12px; }
.article-content ul > li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 0 -12px; vertical-align: 2px; background: url("design/bullet.png") center no-repeat; }
.article-content ol { padding-left: 12px; }
.article-list > li > a:first-child { font-size: 1.1em; text-decoration: underline; }
.article-content li p { margin: 1px 0; }
.article-content .article-list { margin: 1em 0 24px; }
.article-content a.listing-more { display: inline-block; vertical-align: middle; padding: 0 20px; border: 0; border-radius: 8px; color: #2b3c10; background: linear-gradient(to bottom, rgba(207,207,160,.8) 0%, rgba(217,217,180,.8) 20%, rgba(207,207,160,.8) 50%, rgba(200,200,146,.8) 80%, rgba(207,207,160,.8) 100%); font: 13px/31px Verdana, Geneva, Arial, sans-serif; text-align: center; text-decoration: none; white-space: nowrap; }
.article-content a.listing-more:hover { background: linear-gradient(to bottom, rgba(131,185,49,.8), rgba(145,203,58,.8) 20%, rgba(120,169,45,.8) 80%, rgba(131,185,49,.8)); color: #000; }
.article-content li ul, .article-content li ol { margin: .5em 0 .5em 11px; }
.article-content blockquote { clear: both; margin: 0 0 0 20px; padding: 6px 6px 6px 43px; background: #e2f1cb url("design/quote.png") no-repeat; color: #0d120d; font-style: italic; }
.article-content blockquote p { margin: 5px 0; }
.article-content blockquote { overflow: auto; }
.article-content blockquote a { color: #0d120d; font-style: italic; }
.article-content table { border-collapse: collapse; max-width: 100%; margin: 1px; }
.article-content th, .article-content td { padding: 2px; border: 1px solid #b2b266; vertical-align: top; text-align: left; }
.article-content th { padding: 7px; text-align: center; vertical-align: middle; }
.article-content pre { overflow: auto; padding: .1em; }
.article-content iframe, .article-content video { max-width: 100%; }
.article-content iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.article-content hr { clear: both; border: 0; border-top: 1px solid #b5c49d; margin: 1.5rem 0; }
.article-content .image-center, .article-content .image-center img { display: block; margin-left: auto; margin-right: auto; }
.image-left { float: left; }
.image-right { float: right; }
.article-content .image-row { display: flow-root; clear: both; margin: 40px 0; }
.article-content img.image-row { float: none; }
.article-content figure { width: fit-content; max-width: calc(100% - 20px); margin: 10px; padding: 4px 5px 0; border: 1px solid #ddd; background: #f3f3f3; text-align: center; }
.article-content figure img { max-width: 100%; margin: 0; border: 0; }
.article-content figcaption { margin: 0; padding: 0 4px 5px; font-size: 11px; line-height: 17px; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.font-small { font-size: small; }
.font-large { font-size: 13pt; }
.font-calibri { font-family: Calibri, sans-serif; }
.font-trebuchet { font-family: "Trebuchet MS", sans-serif; }
.ink-black { color: #000; }
.ink-charcoal { color: #333; }
.line-compact { line-height: 25px; }
.image-navigation { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; clear: both; margin: 12px 0; }
.image-navigation > .image-left, .image-navigation > .image-right { float: none; max-width: 48%; }
.image-navigation > .image-right { margin-left: auto; }
.image-navigation > :empty { display: none; }
.image-nav-button a, a.image-nav-button, .pagination a, .search-pagination a { display: inline-block; padding: 5px; border: 1px solid #2b3c10; border-radius: 5px; font-size: 1.1em; line-height: 1.5; text-decoration: none; }
.attachment-image { clear: both; }
.archive > .page-title { margin: 14px 0 10px; padding: 0; border-radius: 0; background: none; font-size: 18px; }
.archive-entry { display: flow-root; margin: 7px 0; padding: 3px 0; }
.article-content > .archive-entry:first-of-type { margin-top: 13px; }
.archive-excerpt { display: flow-root; }
.archive-entry > h2:first-child { margin: 0 0 5px; padding: 6px 11px; border-radius: 10px; background: rgba(216,216,177,.8); font-size: 24px; }
.archive-entry h2:empty { display: none; }
.archive-entry h2 a { display: block; color: #4d6d1d; text-decoration: none; }
.archive-entry h2 a:visited { color: #5c5c2e; }
.archive-entry h2 a:hover { color: #4b6548; }
.archive-entry > .post-meta { display: none; }
.archive-entry .archive-read-more { color: #6f956a; text-decoration: none; }
.archive-entry .archive-read-more:hover { text-decoration: underline; }
.post-taxonomy { margin: 6px 0 12px; padding: 1px; color: #55552b; line-height: normal; }
.archive-entry .post-taxonomy { margin: 0; }
.post-taxonomy a, .post-taxonomy a:visited { color: #648d25; text-decoration: none; }
.post-taxonomy a:hover { color: #1f2c0c; }
.post-taxonomy .post-categories::before, .post-taxonomy .post-tags::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: middle; background: url("design/category.png") center no-repeat; }
.post-taxonomy .post-tags::before { background-image: url("design/tag.png"); }
.pagination { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 1.5rem 0; }
.pagination a[rel="next"] { margin-left: auto; }
.pagination [aria-current] { background: #e2f1cb; }
.search-result { margin: 20px 0; }
.search-result h2 { font-size: 24px; }
.search-result > .post-meta { display: block; font-size: 13px; color: #55552b; }
.search-result .post-meta a { color: #648d25; }
.search-pagination { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.post-meta { font-size: 11px; color: #536044; }
.sidebar { min-width: 0; }
.related-pages { margin: 12px 7px 7px; padding: 0 3px; }
.related-pages h2 { color: var(--green); font-size: 26px; margin: 0 5px; padding: 12px 0; }
.related-links { list-style: none; margin: 8px 0 0; padding: 0 5px; line-height: 1.75; }
.related-links li { position: relative; margin: 0 0 15px; padding-left: 16px; }
.related-links li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 5px; height: 5px; border-top: 1px solid #70ac20; border-right: 1px solid #70ac20; transform: rotate(45deg); }
.related-links a, .related-links a:visited { font-size: 13px; color: #58582c; text-decoration: underline; }
.related-links a:hover { color: #aaaa55; }
.advertisement { overflow: hidden; }
.advertisement-sidebar { width: 100%; min-height: 250px; margin-top: 40px; padding-top: 5px; border-top: 1px solid #a3a3a3; }
.advertisement-sidebar ins { min-height: 250px; }
.site-footer { margin: 30px 0 0; padding-bottom: 28px; color: #707038; background: #fff; text-align: center; line-height: 1.75; }
.advertisement-footer { width: calc(100% - 24px); max-width: 728px; min-height: 90px; margin: 0 auto; }
.advertisement-footer ins { min-height: 90px; }
.site-footer p { margin: 28px 0 0; padding: 8px; font-size: 13px; }

@media (max-width: 850px) {
  .site-nav a { padding-right: 16px; padding-left: 16px; }
  .site-sheet { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 680px) {
  .site-banner { height: 170px; background-size: auto 170px; background-position: calc(50% - 120px) top; }
  .site-nav, .site-sheet { width: calc(100% - 24px); margin-top: 12px; }
  .site-nav { padding: 0; }
  .menu-toggle { display: block; min-height: 44px; }
  .has-js .menu-toggle[aria-expanded="false"] + ul { display: none; }
  .site-nav ul { gap: 0; padding-top: 4px; }
  .site-nav li { flex: 1 0 33.333%; }
  .site-nav li + li::before { display: none; }
  .site-nav a { padding: 10px 12px; font-size: 15px; text-align: center; }
  .site-sheet { display: block; }
  .article { padding: 6px; }
  .page-title { margin-left: 0; }
  .home-page .article-content > p:first-child:has(> a > img) { margin: 24px 0; }
  .article-content { font-size: 14px; line-height: 1.6; }
  .article-content a.listing-more { min-height: 44px; line-height: 44px; }
  .article-content img { max-width: calc(100% - 12px); }
  .article-content .image-row { margin: 24px 0; }
  .article-content img.image-left, .article-content img.image-right { float: none; }
  .image-navigation { flex-wrap: wrap; }
  .image-nav-button a, a.image-nav-button, .pagination a, .search-pagination a { min-height: 44px; }
  .article-content table { display: block; overflow-x: auto; }
  .article-content th, .article-content td { min-width: 5rem; }
  .sidebar { margin: 0 12px 16px; }
  .related-pages { margin: 0; padding: 0; }
  .related-pages h2 { margin-left: 0; }
  .advertisement-sidebar { width: 100%; max-width: 300px; margin: 24px auto 0; }
  .site-footer { margin-top: 24px; }
}
@media (max-width: 380px) {
  .site-nav li { flex-basis: 50%; }
  .image-left, .image-right { float: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-banner, .site-nav, .sidebar, .site-footer, .skip-link { display: none; }
  .site-sheet { display: block; width: 100%; max-width: none; border: 0; margin: 0; }
  .article { margin: 0; padding: 0; }
  a { color: inherit; }
  .article-content img, .article-content figure { break-inside: avoid; }
}
