﻿nav ul li.cat a span { font-weight: 700; }


.blog--homebanner { background-color: #31312f; color: #FFF; margin-bottom: 30px; padding: 30px 0; }
.blog--homebanner h1 { color: #FFF; font-size: 2.5rem !important; margin-top: unset; margin-bottom: 10px; }
.blog--homebanner > div { font-size: 1.5rem; }

@media screen and (max-width: 599px) {
    .blog--homebanner > div { font-size: 1rem; }
}


/* Blog list grid card (.post.post-home) now inherits the old Standard-2015 SLG theme straight from
   main.css (card grid, 170px .post-img background image, navy #283551 titles, blue links, and the
   featured first post) plus the SLG .btn.blue "READ MORE" button from the main-site btn.css. The
   bird-food green/orange overrides and the image-tile hack that hid the image + button were removed. */
.posts .post .date { color: #8b8b8b; font-size: 1.2em; font-weight: 100; margin-bottom: 10px; text-transform: uppercase; }

.filter-body { display: flex; gap: 1rem; }
.filter-body > * { flex: 1; border-radius: 3px; overflow: hidden; padding: 0px; margin: 0px; }

a.blogbutton { display: inline-block; clear: both; margin: 15px 0 0 0; padding: 0 30px; border-radius: 30px; color: #fff !important; background-color: #10499e; line-height: 50px; font-weight: 700; text-decoration: none !important; }
a.blogbutton:hover { background-color: #283551; }

.post .post-body a:hover, .post .post-tags a:hover { color: #666; }

#searchbox { display: flex; }

.search input[type=text] { border-radius: 0px; background-color: #fff; border: none; height: 40px; width: calc(100% - 85px) !important; outline: none !important; }
.search input[type=submit] { float: right; border: none; padding: 0; height: 40px; width: 85px !important; font-size: 1.1em; background-color: #000; color: #fff; border: 1px solid #000; font-weight: 700; text-transform: uppercase !important; padding: 0 10px; }
.search input[type=submit]:hover { background-color: #fff; color: #000; }

.search-page .search-page-searchbox form input[type=submit] { margin: 0px; border: none; padding: 0; height: 40px; width: 120px !important; font-size: 1.1em; background-color: #f77400; color: #fff; border-radius: 3px; border: none; font-weight: 700; text-transform: uppercase !important; padding: 0 10px; }

.widget.search form { }

.widget.search form { gap: 0px; border-radius: 3px; overflow: hidden; }

.widget ul { list-style: none; padding: 10px 0 0 0; margin: 0px; }

.search-page .searchpage ul.paging li.active { background-color: #000; }

.widget { background-color: transparent; }

.widget.drop .top { border-radius: 3px; overflow: hidden; background-color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 7px; min-height: 40px; font-weight: 500; }
.widget.drop .top h4 { font-weight: 500; }
.widget.drop .top i { font-size: 1.1rem; }
.widget.drop .widget-content { background-color: #fff; padding: 15px; transform: translateY(-2px); }
.widget.drop .widget-content ul { padding: 0px; }

.post-single { max-width: 1300px; margin: 0 auto; font-size: 1.1rem; }

.post-single .right { display: flex; align-items: center; width: 100%; justify-content: center; }

.post-single h1 { font-size: 3rem !important; }

.post-single .post-header-content { max-width: 530px !important; }

.post-single .post-header-content .post-info { padding: 10px 0px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.post-single .post-header-content .post-info .glyphicon { color: #f77400; }

.post-single .post-header.post-header-split { display: flex; align-items: stretch; gap: 24px; }

.post-single .post-header.post-header-split .post-header-media { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }

.post-single .post-header.post-header-split .post-header-media img { display: block; width: 100%; height: auto; border-radius: 3px; }

.post-single .post-header.post-header-split .post-header-content { display: flex; flex-direction: column; justify-content: center; }

.post-single .post-header.post-header-split .post-date { margin-bottom: 10px; }

@media screen and (max-width: 767px) {
    .post-single .post-header.post-header-split { display: block; }

    .post-single .post-header.post-header-split .post-header-media,
    .post-single .post-header.post-header-split .post-header-content { max-width: 100%; }

    .post-single .post-header.post-header-split .post-header-media { margin-bottom: 16px; }
    .filter-body { display: flex; gap: 1rem; flex-direction: column; max-width: 500px; margin: 0 auto; }
    .filter-body > * { flex: 1; border-radius: 3px; overflow: hidden; padding: 0px; margin: 0px; }
    .widget.search form { width: 100%; }

    .posts { grid-template-columns: repeat(4, 1fr); }
}

@media screen and (max-width: 500px) {
    .posts { grid-template-columns: repeat(2, 1fr); }
}

.widget.drop .widget-header { margin: 0px; }

.post-edit-link { color: #f77400; }

.page-global { box-shadow: none; max-width: 1300px; margin: 0 auto; padding: 0px !important; }
.page-global .page-global-title { font-size: 2.0rem !important; }
.searchpage .searchresult { font-size: 1.1rem; }
.search-page .searchresult span.text { font-size: 1.1rem; }
.search-page .searchresult a { }
.search-page .searchresult a { color: #f77400; font-weight: 600; font-size: 1.5rem; }


/* ============================================================
   Old Standard-2015 sidebar (#blognav) restored.
   Overrides the orange .filter-body redesign above so the
   sidebar renders as the original white horizontal widget bar.
   ============================================================ */
.sidebar-wrapper { background-color: transparent; margin-top: 30px; padding-bottom: 30px;  padding-left: 15px ; padding-right: 15px;}

/* widget bar layout — equal-width columns on one line */
.widgetzone { display: flex; flex-wrap: nowrap;  max-width: 1400px; width: 100%; margin: 0 auto; }
.widgetzone > div { flex: 1 1 0; min-width: 0; padding: 0 .5rem;}

/* dropdown widgets (.dummy-drop-box) */
#blognav .widget { background-color: transparent; }
#blognav .dummy-drop-box { cursor: pointer; border-radius: 3px; position: relative; color: #10499e; font-size: 1.2em; background-color: #f1f1f1; width: 100%; border: none; }
#blognav .dummy-drop-box .inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0px 15px; height: 50px; width: 100%; font-weight: 800; font-size: 1.2em; }
#blognav .dummy-drop-box .inner span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#blognav .dummy-drop-box .inner i { flex: 0 0 auto; font-size: 1.0em; color: #10499e !important; transition: transform 0.2s ease; }
#blognav .dummy-drop-box.open .inner i { transform: rotate(180deg); }
#blognav .dummy-drop-box .dropdown-container { display: none; position: absolute; left: 0px; top: 100%; z-index: 15; border: 1px solid #d7d7d7; width: 100%; background-color: #fff; max-height: 350px; overflow: auto !important; padding: 10px 0px; }
#blognav .dummy-drop-box.open .dropdown-container { display: block; }
#blognav .dummy-drop-box .dropdown-container ul { list-style: none; padding: 0px; margin: 0px; }
#blognav .dummy-drop-box .dropdown-container li { padding: 0px; }
#blognav .dummy-drop-box .dropdown-container a { padding: 5px 15px; display: inline-block; color: #283551; }
#blognav .dummy-drop-box .dropdown-container a:hover { color: #10499e; }
/* month-list year sub-toggle */
#blognav .dummy-drop-box .year { cursor: pointer; }
#blognav .dummy-drop-box .year-title { padding: 5px 15px; font-weight: 600; }
#blognav .dummy-drop-box .year-ul { display: none; padding: 0px; }
#blognav .dummy-drop-box .year-ul.open { display: block; }

/* search widget */
#blognav .widget.search { margin: 0; }
#blognav .widget.search #searchbox { display: block; }
#blognav .widget.search input[type=text] { background-color: #fff; border: 1px solid #757575; border-radius: 0; padding-left: 1rem; height: 50px; width: 75% !important; outline: none !important; font-size: 1.1em; }
#blognav .widget.search input[type=submit] {border-radius: 0px 3px 3px 0px; border: none; float: right; width: 25% !important; height: 50px;  background-color: #10499e; color: #fff; font-size: 1em; font-weight: 700; cursor: pointer; }
#blognav .widget.search input[type=submit]:hover { background-color: #283551; border-color: #283551; }

.blog-top h1 {font-size: 1.4em !important;}
/* home link icon */
#blognav .homelink { color: #10499e; font-size: 1.5em; }

@media screen and (min-width: 992px) {
    #blognav > .rel { display: flex; align-items: center; justify-content: center; max-width: 1400px; margin: 0 auto; }
    #blognav .nav-padd { width: 100%; }
}

@media screen and (min-width: 768px) {
    .sidebar-wrapper .hburg { display: none; }
}

@media only screen and (max-width: 991px) {
    .sidebar-wrapper { max-height: calc(100vh - 21vw); overflow: auto; background-color: #fff; padding-bottom: 10px;}
    .sidebar-wrapper .rel { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;  }
    .sidebar-wrapper .rel .hburg { cursor: pointer; color: #10499e; font-size: 2em; }
    .sidebar-wrapper .rel.shut { max-height: 50px; overflow: hidden; }
    .sidebar-wrapper .rel .fa-times { display: block; }
    .sidebar-wrapper .rel .fa-bars { display: none; }
    .sidebar-wrapper .rel.shut .fa-bars { display: block !important; }
    .sidebar-wrapper .rel.shut .fa-times { display: none !important; }
    .sidebar-wrapper .widgetzone { flex-wrap: wrap; padding: 1rem 0px; }
    .sidebar-wrapper .widgetzone > div { flex: 0 0 100%; width: 100%; }
    .sidebar-wrapper .widget { padding: .5rem 0; }
    .posts { grid-template-columns: repeat(4, 1fr); }
}


/* Single post (.post.post-page) inherits the old Standard-2015 SLG theme from main.css: the
   .post-graphic flex header (first image beside the navy title + blue meta + inline date) and the
   max-width-1400 centred body. The bird-food white-card + green circular date badge + orange meta
   overrides were removed so it matches the live /news/post page. */
