@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
    --ink: #263a38;
    --muted: #64736d;
    --paper: #ffffff;
    --ground: #f2f5f1;
    --line: #dce5df;
    --forest: #315e53;
    --accent: #c65e43;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background-color: var(--ground);
    background-image: linear-gradient(rgba(247, 249, 246, .86), rgba(247, 249, 246, .86)), url('images/content_top.png');
    color: var(--ink);
    font: 16px/1.65 'DM Sans', sans-serif;
}
a, a:visited { color: var(--forest); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.main_outer, .main_green { background: none; }
#main { width: min(100% - 48px, 1180px); margin: 0 auto; }

.header { padding: 0; }
.header::before {
    content: '';
    display: block;
    height: 165px;
    background: url('images/top_bg.gif') repeat-x center top, url('images/prairie.png') no-repeat center 25px;
    background-size: auto 45px, min(100%, 1000px) auto;
}
.header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 0 30px;
    border-bottom: 1px solid var(--line);
}
.header_left, .header_right { float: none; width: auto; }
.header_left { flex: 1; min-width: 0; }
.title { padding: 0; }
.title h1 { padding: 0; font: 600 38px/1.1 'Fraunces', Georgia, serif; }
.title h1 a, .title h1 a:visited { color: #a75424; }
.title h1 a:hover { color: var(--forest); }
.title h3 { max-width: 600px; padding: 10px 0 0; color: var(--muted); font: 400 14px/1.5 'DM Sans', sans-serif; }
.header_right { flex: 0 0 270px; }
.header_right p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.header_right a, .header_right a:visited { color: var(--forest); }
.header_right > a img { display: block; width: 100%; max-height: 76px; object-fit: contain; object-position: left; }
.header_search { float: none; padding: 0 0 10px; }
.header_search form { display: flex; max-width: 270px; }
.search_text { float: none; width: 100%; min-width: 0; margin: 0; padding: 9px 11px; border: 1px solid #cbd9d1; border-radius: 3px 0 0 3px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; }
.search_btn { float: none; flex: 0 0 68px; width: 68px; margin: 0; padding: 0; border-radius: 0 3px 3px 0; background: var(--forest); color: white; font: 600 12px 'DM Sans', sans-serif; }
.search_btn:hover { background: var(--ink); }

.nav { width: 100%; margin: 0; padding: 0; background: none; border-bottom: 1px solid var(--line); }
ul#nav { float: none; display: flex; flex-wrap: wrap; gap: 0 24px; padding: 0; }
ul#nav > li { float: none; padding: 0; }
ul#nav > li > a { padding: 15px 0; background: none; color: var(--ink); font-size: 13px; font-weight: 700; text-transform: none; }
ul#nav > li:hover > a, ul#nav > li.current_page_item > a { color: var(--accent); }
ul#nav ul { top: 100%; border: 1px solid var(--line); background: white; box-shadow: 0 8px 18px rgba(38, 58, 56, .12); }
ul#nav li:hover li a, ul#nav li.iehover li a, ul#nav li.current_page_item li a, ul#nav li li.current_page_item a { width: 188px; padding: 10px 14px; border: 0; background: white; color: var(--ink); font-size: 13px; }
ul#nav li:hover li a:hover, ul#nav li:hover li:hover a { background: var(--ground); color: var(--accent); }
.nav_bottom { display: none; }

.main_content { display: flex; align-items: flex-start; gap: 48px; padding: 42px 0 70px; }
.main_left { float: none; flex: 1; min-width: 0; width: auto; background: none; }
.content_top, .content_bg, .content_bottom { background: none; }
.content_top, .content_bg { padding: 0; }
.content_bottom { height: 0; }
.story { height: auto; margin: 0 0 36px; padding: 0 0 34px 22px; border-bottom: 1px solid var(--line); border-left: 2px solid #d4e3da; }
.story_title { height: auto; margin: 0 0 16px; padding: 0; background: none; opacity: 1; filter: none; }
.story_title h2, .page_title h2 { padding: 0 0 11px; font: 600 28px/1.25 'Fraunces', Georgia, serif; }
.story_title h2 a, .story_title h2 a:visited { color: var(--ink); }
.story_title h2 a:hover { color: var(--accent); }
.story_category, .story_date { float: none; width: auto; color: var(--muted); text-align: left; font-size: 12px; line-height: 1.5; }
.story_category a, .story_category a:visited { color: var(--forest); }
.story_category img, .story_date img, .story_tags img, .read_more img { display: none; }
.story_category br { display: none; }
.story_date { margin-top: 5px; }
.storyContent { padding: 0; overflow-wrap: anywhere; }
.storyContent p { padding-bottom: 16px; font-size: 15px; line-height: 1.75; }
.storyContent .ngg-gallery-singlepic-image { margin: 4px 16px 14px 0; }
.storyContent .ngg-gallery-singlepic-image.ngg-right { margin: 4px 0 14px 16px; }
.storyContent .ngg-singlepic { display: block; max-width: 100%; height: auto; border-radius: 3px; }
.postmeta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; clear: both; padding-top: 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; opacity: 1; filter: none; }
.story_tags, .read_more { float: none; width: auto; margin: 0; padding: 0; text-align: left; font-size: 12px; }
.story_tags { color: var(--muted); }
.postmeta a, .postmeta a:visited { color: var(--forest); }
.read_more a, .read_more a:visited { color: var(--accent); font-weight: 700; white-space: nowrap; }
.navigation { font-family: 'DM Sans', sans-serif; }
.navigation a, .navigation a:visited { color: var(--forest); font-size: 15px; }

.sidebar { float: none; flex: 0 0 280px; width: 280px; min-width: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line); }
.side_top, .sidebar_bottom { display: none; }
.sidebar_top, .sidebar_bg { padding: 0; background: none; }
.sidebar li { padding-bottom: 25px; color: var(--ink); }
.sidebar h3 { margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: 600 19px/1.3 'Fraunces', Georgia, serif; }
.sidebar li li { margin: 0; padding: 6px 0; background: none; border-bottom: 1px solid #e8eeea; }
.sidebar li li li { padding-left: 12px; }
.sidebar li a, .sidebar li a:visited, .sidebar li li a, .sidebar li li a:visited { color: var(--forest); font-size: 13px; }
.sidebar iframe { max-width: 100%; }
.sidebar select, .sidebar input { max-width: 100%; }

.footer, .footer_bg, .footer_content { width: auto; height: auto; background: none; }
.footer { padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer_content { padding: 0; color: var(--muted); }
.footer_content a, .footer_content a:visited { color: var(--forest); }

@media (max-width: 800px) {
    #main { width: min(100% - 32px, 680px); }
    .header_top { align-items: flex-start; padding: 25px 0; }
    .title h1 { font-size: 30px; }
    .header_right { flex-basis: 210px; }
    .main_content { gap: 28px; }
    .sidebar { flex-basis: 220px; width: 220px; padding-left: 20px; }
}

@media (max-width: 620px) {
    #main { width: calc(100% - 32px); }
    .header::before { height: 88px; background-position: center top, center 20px; background-size: auto 28px, auto 68px; }
    .header_top { display: block; }
    .title h1 { font-size: 27px; }
    .title h3 { font-size: 13px; }
    .header_right { margin-top: 20px; }
    .header_search { padding: 0; }
    .header_search form { max-width: none; }
    .header_right > a img { max-width: 240px; }
    ul#nav { gap: 0 18px; }
    ul#nav > li > a { padding: 11px 0; }
    .main_content { display: block; padding: 30px 0 45px; }
    .story { margin-bottom: 27px; padding-bottom: 26px; }
    .story_title h2, .page_title h2 { font-size: 23px; }
    .storyContent .ngg-gallery-singlepic-image { max-width: calc(50% - 8px) !important; }
    .sidebar { width: auto; margin-top: 35px; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .postmeta { flex-wrap: wrap; }
}

body {
    background-color: #d7ddcb;
    background-image: linear-gradient(rgba(216, 225, 210, .55), rgba(216, 225, 210, .55)), url('images/bg.jpg');
    color: #333a31;
}
.main_outer { background: none; }
.main_green { background: url('images/top_bg.gif') repeat-x left top; }
#main { width: min(100% - 48px, 1800px); }
.header::before { display: none; }
.header_top { align-items: flex-start; padding: 30px 0 15px; border: 0; }
.title { padding-top: 50px; }
.title h1 { padding-left: 15px; font-size: 42px; }
.title h1 a, .title h1 a:visited { color: #263f2e; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.title h3 { padding-left: 15px; color: #25392e; }
.header_right { margin-top: 36px; padding: 0; background: transparent; }
.header_right p { color: #25392e; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 0 15px; background: url('images/nav_bg.gif') repeat-y left top; background-size: 100% auto; border: 0; }
ul#nav { flex: 1 1 500px; gap: 0 8px; }
.nav_tools { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 6px 0; }
.nav_tools .header_search { display: flex; width: 230px; padding: 0; }
.nav_tools .rss_link, .nav_tools .rss_link:visited { color: #ffe8ad; font-size: 13px; font-weight: 700; }
.nav_tools .rss_link:hover { color: #fff; }
ul#nav > li > a { padding: 11px 12px; color: #ffe8ad; }
ul#nav > li:hover > a, ul#nav > li.current_page_item > a { color: #fff; }
.nav_bottom { display: block; width: 100%; }
.main_content { gap: 24px; padding: 0 15px 35px; }
.main_left { background: url('images/content_top.png') no-repeat left top; background-size: 100% auto; }
.content_top { padding-top: 25px; background: url('images/content_top.png') no-repeat left top; background-size: 100% auto; }
.content_bg { padding: 0 24px; background: url('images/content_bg.png') repeat-y left top; background-size: 100% auto; }
.content_bottom { height: 61px; background: url('images/content_bottom.png') no-repeat left bottom; background-size: 100% auto; }
.story { margin: 0; padding: 8px 0 28px; border: 0; }
.story_title { padding: 12px 14px; background: rgba(199, 193, 159, .5); }
.story_title h2, .page_title h2 { font-size: 23px; }
.story_category, .story_date { color: #59604f; }
.story_category img, .story_date img, .story_tags img, .read_more img { display: inline; }
.postmeta { padding: 10px 12px; border: 0; background: rgba(205, 198, 165, .5); }
.sidebar { flex: 0 0 284px; width: 284px; padding: 0; border: 0; }
.side_top, .sidebar_bottom { display: block; }
.sidebar_top { padding: 52px 0 0; background: url('images/sidebar_top.png') no-repeat left top; }
.sidebar_bg { padding: 20px 22px 15px; background: url('images/sidebar_bg.png') repeat-y left top; }
.sidebar_bottom { height: 75px; background: url('images/sidebar_bottom.png') no-repeat left bottom; }
.sidebar li { color: #fff; }
.sidebar h3 { padding: 0 5px 5px 16px; background: url('images/sidebar_border.jpg') no-repeat left bottom; color: #fff; border: 0; }
.sidebar li li { margin-left: 18px; padding: 5px 0 5px 18px; background: url('images/bullet.gif') no-repeat left 9px; border: 0; }
.sidebar li a, .sidebar li a:visited, .sidebar li li a, .sidebar li li a:visited { color: #ffe8ad; }

@media (max-width: 800px) {
    .title h1 { font-size: 32px; }
    .header_right { flex-basis: 210px; }
    .main_content { gap: 16px; }
    .sidebar { flex-basis: 230px; width: 230px; }
    .sidebar_top, .sidebar_bg, .sidebar_bottom { background-size: 100% auto; }
}

@media (max-width: 620px) {
    #main { width: calc(100% - 24px); }
    .header_top { display: block; padding-top: 0; }
    .title { padding-top: 50px; }
    .title h1 { padding-left: 5px; font-size: 27px; }
    .title h3 { padding-left: 5px; }
    .header_right { margin: 18px 5px 0; }
    .nav { margin-top: 16px; padding: 0 8px; }
    ul#nav { flex-basis: 100%; gap: 0; }
    ul#nav > li > a { padding: 10px 9px; }
    .nav_tools { width: 100%; padding: 6px 0 10px; }
    .nav_tools .header_search { flex: 1; width: auto; }
    .main_content { display: block; padding: 0 0 30px; }
    .content_bg { padding: 0 16px; }
    .story { margin: 0; padding: 8px 0 28px; }
    .story_title h2, .page_title h2 { font-size: 21px; }
    .sidebar { width: 100%; max-width: 284px; margin: 22px auto 0; padding: 0; border: 0; }
}