﻿body { font-size: 1em; font-family: 'Lato'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #777; background-color: #fff; margin: 0; padding: 0; -webkit-text-size-adjust: 100%; }

.post header {height: auto !important; background-color: transparent !important;}

.glyphicon {color: #a0ce67;}

.blog--homebanner { background-color: #f5f5f5; color: #FFF; margin-bottom: 30px; padding: 30px 0; }
.blog--homebanner h1 { color: #052f58; 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; }
}

.post .post-info { font-size: 13px; color: #000; }
/* --- Blog filter panel (accordion style) --- */
.bl-filter-panel { background-color: #f5f5f5; border-radius: 15px; box-shadow: 0 3px 6px #00000029; }
.bl-filter-panel .filter-body.main { padding:  1.5rem; }

.bl-filter-panel .widget { padding: 0;  margin-bottom: 0; border-bottom: none; }
.bl-filter-panel .widget:first-child {margin-top: 0px;}

.bl-filter-panel .widget-header { display: flex; justify-content: space-between; align-items: center; padding: 0 0 0.5rem 0; margin: 0; font-weight: 500; font-size: 1.7rem; line-height: 1.3; color: #052f58; cursor: pointer; user-select: none; border-bottom: none; }
.bl-filter-panel .widget-header:hover { color: #2BBED8; }
.bl-filter-panel .widget-header::after { content: ""; display: inline-block; width: 15px; height: 15px; border-left: 3px solid #2BBED8; border-bottom: 3px solid #2BBED8; transform: rotate(-45deg); transition: transform 200ms ease; flex-shrink: 0; margin-left: 0.75rem; }
.bl-filter-panel .widget.open > .widget-header::after { transform: rotate(135deg); }

.bl-filter-panel .widget-content { display: none; flex-direction: column; gap: 4px; padding-bottom: 16px; }
.bl-filter-panel .widget.open > .widget-content { display: flex; max-height: 300px; overflow: auto; }

.bl-filter-panel .widget-content ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0px; }
.bl-filter-panel .widget-content ul li { padding: .3rem 0rem; }
.bl-filter-panel .widget-content ul li a { font-weight: 500; font-size: 1.2rem; line-height: 1.4; color: #052f58 !important; text-decoration: none !important; }
.bl-filter-panel .widget-content ul li a:hover { color: #2BBED8 !important; }

.bl-filter-panel .widget.search { position: relative; margin-top: 0; }
.bl-filter-panel .widget.search > .widget-content { display: flex; }

.sidebar-wrapper ul li a { font-size: 1.2rem !important; font-weight: 500; color: #052f58; text-decoration: none; }
.sidebar-wrapper ul li a:hover { color: #2BBED8; }



.widget {
    padding: 3% 0;
    margin-bottom: 0px;
}

.post-home { border-radius: 15px; box-shadow: 0 3px 6px #00000029; padding: 2rem; }
.cattitle a { font-weight: 600; font-size: 1.5rem; line-height: 1.3; text-decoration: none; color: #052f58; }

.post-body.text, .post-body.text p, .post-body.text span {}
.post-body {
    margin-bottom: 15px;
    color: #052f58;
}
.post .post-info {
    font-size: 1rem;
    color: #a0ce67;
}
.post-body.text a{text-decoration: underline; }
.post .post-body a { color: #2BBED8; background-image: none !important; font-weight: 600;}
.post-body.text a.blogbutton{text-decoration: none; }
.post-body.text a.blogbutton:hover{color: #000 !important; }
.post-category a{text-decoration: none !important; text-transform: capitalize; color: #818285;}
.post-author a{text-decoration: none !important; text-transform: capitalize; color: #818285;}
a.blogbutton { display: inline-block; clear: both; margin: 15px 0 0 0; padding: 0 15px; border-radius: 3px; border: 1px solid transparent; color: #fff !important; background-color: #2bbed8; line-height: 38px; font-weight: 700; text-decoration: none !important; }
a.blogbutton:hover { -webkit-transition: all .2s; -moz-transition: all .2s; transition: all .2s; background-color: transparent; color: #2BBED8 !important; border: 1px solid #2BBED8; }

.post .post-header {padding-bottom: 15px;height: auto; flex-wrap: wrap; border: none !important;}
.post .post-header .post-title a { text-decoration: none;  }
.post .post-info { font-size: 1rem; color: #a0ce67; }
.post .post-info span { margin-right: 7px; }
.post .post-footer { margin-top: 20px;  font-size: 13px; min-height: 35px; margin-bottom: -5px; }
.post .post-footer:hover { border-color: #ddd; }
.post .post-rating { height: 21px; max-width: 50%; }
.post .post-rating * { margin: 0; padding: 0; top: 0; line-height: 10px; }
.post .post-rating p { top: 9px; }
.post .post-body a{color: #2BBED8; background-image:none !important;}
.post .post-body a:hover,.post .post-tags a:hover {color:#841015;}
.cattitle {    border-bottom: 1px solid #052f58; width: 100%; display: block; margin-bottom: 15px;}
.cattitle h1,.cattitle h2 { margin-right:20px; font-size: 1.8em !important;  }
.cattitle a {font-weight: 600;font-size: 1.5rem;line-height: 1.3;text-decoration: none;color: #052f58;}
.post-author a { padding-left:5px; padding-right:10px; color: #818285;  text-decoration: none; text-transform: capitalize; }
.post-category a{ padding-left:5px;   color: #818285; text-decoration: none;  }
.post-author a:hover,.post-category a:hover {color:#2BBED8;}
#monthList li ul li{ margin-bottom:7px;  }
.post-date { background-repeat: no-repeat; color: #052f58; font-weight: 600; font-size: 1.0em;}
.post .post-body a:hover, .post .post-tags a:hover { color: #666; }

#searchbox { display: flex; border: 1px solid #052f58; border-radius: 5px; overflow: hidden; }
#searchbox form { display: flex; width: 100%; }



.search input[type=text] {margin: 0px; background-color: #fff; border: none; height: 45px; width: calc(100% - 45px) !important; outline: none !important; padding-left: .5rem; font-size: 1rem; }
.search input[type=text]::placeholder { color: #999; }
.search #searchbutton { cursor: pointer; border: none; padding: 0; height: 45px; width: 45px; background-color: #052f58; color: #fff; font-size: 1.4rem; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.search #searchbutton:hover { background-color: #2BBED8; }

.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: #052f58; color: #fff; font-weight: 700; padding: 0 10px; overflow: hidden; }

.widget.search form { border: none; gap: 0px;}

.widget ul { list-style: none; padding: 10px 0 0 0; margin: 0px; }

.search-page .searchpage ul.paging li.active {background-color: #000;}

/* --- Desktop sidebar (sticky) --- */
@media screen and (min-width: 992px) {
  
    .bl-filter-panel .widget.open > .widget-content { display: flex; }
    .bl-filter-togg { display: none; }
    .bl-filter-head { display: none; }
    .bl-filter-overlay { display: none; }
    .bl-filter-panel {position: sticky; top: 30px;}
    .bl-filter-panel .filter-body.main {  max-height: calc(100vh - 130px); overflow: auto; display: flex; flex-direction: column; gap: 5px; }
}

/* --- Mobile sidebar (slide-up bottom sheet) --- */
@media screen and (max-width: 991px) {
    .blog-section {flex-direction: column-reverse;}
    .bl-filter-togg { display: flex; background-color: #f5f5f5;      box-shadow: 0 3px 6px #00000029;   position: sticky; justify-content: space-between; align-items: center; gap: 6px; padding: 1rem; height: 50px; font-size: 16px; font-weight: 600; color: #262121; cursor: pointer; user-select: none; white-space: nowrap; }
    .bl-filter-togg:after { content: ""; display: inline-block; width: 12px; height: 12px; border-left: 2px solid #2BBED8; border-bottom: 2px solid #2BBED8; transform: rotate(-45deg); transition: transform 200ms ease; flex-shrink: 0; margin-left: 0.75rem; }
    .bl-filter-togg:hover { background-color: #ebebeb; }

    .sidebar-wrapper { position: static; background-color: #FFF; }

    .bl-filter-panel { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 21; background-color: #fff; border-radius: 15px 15px 0 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.2s ease; border-left: none; display: flex; flex-direction: column; }
    .bl-filter-panel.open { max-height: calc(100vh - 90px); opacity: 1; border-bottom: 1px solid #dbdbdb; }

    .bl-filter-head { background-color: #fafafa; padding: 20px 15px 15px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
    .bl-filter-head span { color: #1b1b1b; font-size: 20px; font-weight: 700; }
    .bl-filter-head .close { width: 25px; height: 25px; position: relative; transform: rotate(45deg); cursor: pointer; }
    .bl-filter-head .close::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); width: 2px; height: 100%; border-radius: 10px; background-color: #000; }
    .bl-filter-head .close::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 2px; height: 100%; border-radius: 10px; background-color: #000; }

    .bl-filter-panel .filter-body.main { flex: 1; min-height: 0; overflow-y: auto; padding: 0 15px 30px;         background-color: #fafafa; }

    .bl-filter-panel .widget {}
    .bl-filter-panel .widget-header {font-size: 1.2rem;}
    .bl-filter-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0; z-index: 20; cursor: pointer; transition: opacity 0.2s ease; }
    .bl-filter-overlay.active { display: block; opacity: 0.5; }
}