/*
Theme Name: Blogstream
Theme URI: http://alx.media/themes/blogstream/
Version: 1.0.7
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 6.0
Description: <a href="http://alx.media/themes/blogstream/">Blogstream</a> is a flexible personal blog theme with plenty of options. Optimized for all devices, this theme will stand out with a unique design. Pick any accent color you wish. Set sidebar to the left or right - or no sidebar at all. Demo: http://demo.alx.media/x/?theme=Blogstream
Author: Alexander Agnarson
Author URI: http://alx.media
Tags: blog, news, entertainment, one-column, two-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background, footer-widgets
Text Domain: blogstream

	Copyright: (c) 2018 Alexander "Alx" Agnarson
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/*
WARNING! DO NOT EDIT THIS FILE!
To make it easy to update your theme, you should not edit the styles in this file. Instead use a child theme
to add your styles. You can copy a style from this file and paste it in the child theme's style.css and it
will override the style in this file. You have been warned! :)
*/

/* ------------------------------------------------------------------------- *
 *  Table of contents
	
	1. Reset
	2. Base Styles
		- Fonts
		- Forms
		- Entry Text
		- Headings
	3. Base Structure
		- Layout
	4. Common Elements
		- Nav
	5. Header
	6. Page
	7. Footer
	8. Post Entry
	9. Post Formats
	10. Widgets
	11. Comments
	12. Plugins
	13. Slick Carousel
	
/* ------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------- *
 *  Reset - http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126
 * ------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, 
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, 
samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, 
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, 
section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }


/* ------------------------------------------------------------------------- *
 *  Base Styles
/* ------------------------------------------------------------------------- */
body { background: #f4f7e3; font-size: 15px; line-height: 1.5em; color: #737c55; font-weight: 400; letter-spacing: 0.5px;; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; font-synthesis-weight: none; }
::selection { background: #ecede4; color: #3f471b; }
::-moz-selection { background: #ecede4; color: #3f471b; }
a { color: #737471; text-decoration: none; }
a:hover { color: #3f471b; }
img { max-width: 100%; height: auto; }
a,
a:before,
a:after { transition-property: background color; transition-duration: 0.2s; transition-timing-function: ease; }
a img { transition: opacity 0.2s ease; }
address,cite,em { font-style: italic; }
strong { font-weight: 600; }
ol, ul { box-sizing: content-box; }
.left,.alignleft { float: left; }
.right,.alignright { float: right; }
.aligncenter { margin-left: auto; margin-right: auto; }
hr { border: 0; background: #d3e2a8; height: 1px; margin: 40px 0; }

/*  base : clear
/* ------------------------------------ */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.group:before, .group:after { content: ""; display: table; }
.group:after { clear: both; }
.group { zoom: 1; }

/*  base : font awesome square size
/* ------------------------------------ */
.fa, .fab, .fal, .far, .fas { width: 1em; text-align: center; }

/*  base : fonts
/* ------------------------------------ */
/* 字体栈：英文字体优先 + 中文优化 */
body[class] {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    Arial,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    "Source Han Sans SC",
    "Noto Sans SC",
    "HarmonyOS Sans SC",
    sans-serif;
}

/* 让表单控件跟随正文字体 */
button, input, select, textarea {
  font-family: inherit;
}


@font-face {
	font-family: 'Titillium';
	src: url('fonts/titillium-light-webfont.eot');
	src: url('fonts/titillium-light-webfont.svg#titillium-light-webfont') format('svg'),
		 url('fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/titillium-light-webfont.woff') format('woff'),
		 url('fonts/titillium-light-webfont.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'Titillium';
	src: url('fonts/titillium-lightitalic-webfont.eot');
	src: url('fonts/titillium-lightitalic-webfont.svg#titillium-lightitalic-webfont') format('svg'),
		 url('fonts/titillium-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/titillium-lightitalic-webfont.woff') format('woff'),
		 url('fonts/titillium-lightitalic-webfont.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
}
@font-face {
	font-family: 'Titillium';
	src: url('fonts/titillium-regular-webfont.eot');
	src: url('fonts/titillium-regular-webfont.svg#titillium-regular-webfont') format('svg'),
		 url('fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/titillium-regular-webfont.woff') format('woff'),
		 url('fonts/titillium-regular-webfont.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Titillium';
	src: url('fonts/titillium-regularitalic-webfont.eot');
	src: url('fonts/titillium-regularitalic-webfont.svg#titillium-regular-webfont') format('svg'),
		 url('fonts/titillium-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/titillium-regularitalic-webfont.woff') format('woff'),
		 url('fonts/titillium-regularitalic-webfont.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
}
@font-face {
    font-family: 'Titillium';
    src: url('fonts/titillium-semibold-webfont.eot');
    src: url('fonts/titillium-semibold-webfont.svg#titillium-semibold-webfont') format('svg'),
         url('fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/titillium-semibold-webfont.woff') format('woff'),
         url('fonts/titillium-semibold-webfont.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

/*  base : forms
/* ------------------------------------ */
input, textarea, button, select, label { font-family: inherit; }
.themeform input,
.themeform select,
.themeform textarea,
.themeform button,
.themeform label { font-size: 14px; }
.themeform input::-moz-focus-inner, 
.themeform button::-moz-focus-inner { border: 0; padding: 0; }
.themeform input[type="search"],
.themeform input[type="text"],
.themeform input[type="password"],
.themeform input[type="email"],
.themeform input[type="url"],
.themeform input[type="tel"],
.themeform input[type="number"],
.themeform input[type="submit"],
.themeform select,
.themeform button, 
.themeform textarea { margin: 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-border-radius: 0; border-radius: 0; }
.themeform input, 
.themeform select,
.themeform textarea, 
.themeform button { -moz-appearance: none; -webkit-appearance: none; -moz-transition: all .2s ease; -webkit-transition: all .2s ease; transition: all .2s ease; }
.themeform select { appearance: normal; -moz-appearance: menulist; -webkit-appearance: menulist; }
.themeform input[type="checkbox"] { -moz-appearance: checkbox; -webkit-appearance: checkbox; }
.themeform input[type="radio"] { -moz-appearance: radio; -webkit-appearance: radio; }
.themeform label { font-weight: 600; color: #3f471b; }
.themeform input[type="search"],
.themeform input[type="text"], 
.themeform input[type="password"], 
.themeform input[type="email"], 
.themeform input[type="url"],
.themeform input[type="tel"],
.themeform input[type="number"],
.themeform select,
.themeform textarea { background: #fdffed; border: 1px solid #eeefe9; color: #898989; display: block; max-width: 100%; outline: none; padding: 7px 8px; }
.themeform input[type="search"]:focus,
.themeform input[type="text"]:focus, 
.themeform input[type="password"]:focus, 
.themeform input[type="email"]:focus, 
.themeform input[type="url"]:focus,
.themeform input[type="tel"]:focus,
.themeform input[type="number"]:focus, 
.themeform select:focus,
.themeform textarea:focus { border-color: #d8dbe5; color: #3f471b; -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); box-shadow: 0 0 3px rgba(0,0,0,0.1); }
.themeform label .required { color: #3f471b; }
.themeform input[type="button"],
.themeform input[type="reset"],
.themeform input[type="submit"],
.themeform button[type="button"],
.themeform button[type="reset"],
.themeform button[type="submit"] { background: #babfa5; color: #fff; padding: 8px 14px; font-weight: 600; display: inline-block; border: none; cursor: pointer; -webkit-border-radius: 3px; border-radius: 3px; }
.themeform input[type="button"]:hover,
.themeform input[type="reset"]:hover,
.themeform input[type="submit"]:hover,
.themeform button[type="button"]:hover,
.themeform button[type="reset"]:hover,
.themeform button[type="submit"]:hover { background: #6e704f; }

.themeform.searchform div { position: relative; }
.themeform.searchform div input { padding-left: 26px; line-height: 20px; }
.themeform.searchform div:after { color: #a9b68a; line-height: 24px; font-size: 14px; content: "\f002"; position: absolute; left: 10px; top: 6px; font-family: "Font Awesome 6 Free"; font-weight: 900; }

/*  base : entry
/* ------------------------------------ */
.entry a { color: #8d9c51; font-weight: 600;box-shadow: 0 1px 0 #c0c7ae; }
.entry a:hover {color: #3f471b; box-shadow: 0 1px 0 #3f471b; }
.entry { font-size: 17px; line-height: 1.6em; }
.entry p,
.entry dd { margin-bottom: 1em; }
.entry dt { color: #3f471b; }
.entry ol,
.entry ul { margin: 0 0 15px 30px; }
.entry ol ol,
.entry ol ul,
.entry ul ul,
.entry ul ol { margin-bottom: 0; }
.entry li { margin: 0; }
.entry ul li,
.entry ol ul li { list-style: square; }
.entry ol li,
.entry ol ul ol li { list-style: decimal; }
.entry dt { font-weight: 600;}
.entry address { margin-bottom: 1em; }
.entry blockquote { position: relative; font-style: italic; margin: 0 0 20px 0; padding-left: 50px; }
.entry blockquote p { font-weight: 400; color: #606443; margin-bottom: 0.75em; }
.entry blockquote:before { content: "\f10d"; color: #c2c7ae; font-size: 32px; font-style: normal; font-family: "Font Awesome 6 Free"; font-weight: 900; text-align: center; position: absolute; left: 0; top: 0; }
.entry blockquote.twitter-tweet:before { content: "\f099"; }
.entry code, .entry pre { font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-size: 11px; }
.entry pre { padding: 18px 20px; margin: 30px 0; border: 1px solid #d8dbe5; line-height: 19px; white-space: pre-wrap; word-wrap: break-word; overflow-x: auto; overflow-y: hidden; }
.entry code { background: #d8dbe5; padding: 0 3px; }
.entry ins { background: #fff486; }
.entry sub,
.entry sup { font-size: 62.5%; }
.entry sub { vertical-align: sub; }
.entry sup { vertical-align: super; }

/* image position & caption */
.entry img.size-auto,
.entry img.size-large,
.entry img.size-medium,
.entry attachment img { max-width: 100%; height: auto; }
.entry img.alignleft { margin: 18px 20px 18px 0; }
.entry img.alignright { margin: 18px 0 18px 20px; }
.entry img.aligncenter { margin: 18px auto; clear: both; display: block; }
.entry img .size-full { width: 100%!important; }
.entry .gallery img, .entry img.wp-smiley { margin: 0; }
.entry .wp-caption { background: #f1f1f1; max-width: 100%; margin-bottom: 14px; padding-top: 5px; text-align: center; }
.entry .wp-caption-text { font-style: italic; }
.entry .wp-caption a { border-bottom: none; }
.entry .wp-caption img { margin: 0; max-width: 100%; height: auto; }
.entry .wp-caption.alignleft { margin-right: 20px; }
.entry .wp-caption.alignright { margin-left: 20px; }
.entry .wp-caption.alignnone { overflow: hidden; }
.entry .wp-caption.alignnone img { margin: 0 auto; max-width: 100%!important; }
.entry .wp-caption-text { color: #7d7f52; font-size: 13px; padding: 0 0 8px 0; margin: 0; }

/* table */
.entry table { font-size: 14px; margin-bottom: 1.5em; width: 100%; text-align: center; }
.entry table tr.alt { background: #f4f5f8; }
.entry table td { border: 1px solid #d8dbe5; text-align: center; padding: 5px; vertical-align: middle; }
.entry table th { border: 1px solid #d8dbe5; font-weight: 600; text-align: center; padding: 10px 5px; }

/* default gallery */
.entry .gallery,
.widget .gallery { clear: both; overflow: hidden; width: 100%; margin: 15px 0!important; }
.entry .gallery img,
.widget .gallery img { display: block; width: 100%; height: auto; border-width: 1px 2px!important; border-color: transparent!important; }
.entry .gallery .gallery-item,
.widget .gallery .gallery-item { position: relative; overflow: hidden; border-color: transparent; margin-top: 0!important; }
.entry .gallery .gallery-caption,
.widget .gallery .gallery-caption { background: rgba(255,255,255,0.8); color: #3f471b; font-size: 13px; line-height: 1.4em; padding: 10px 0; text-align: left; text-indent: 10px; font-style: normal; margin: 0; bottom: -44px; left: 2px; right: 2px; overflow: hidden; position: absolute; text-overflow: ellipsis; white-space: nowrap; width: 100%;
transition: all .2s ease;
-o-transition: all .2s ease;
-moz-transition: all .2s ease;
-webkit-transition: all .2s ease; }
.entry .gallery .gallery-item:hover .gallery-caption  { bottom: 0; }
.entry .gallery-columns-5 .gallery-caption,
.entry .gallery-columns-6 .gallery-caption,
.entry .gallery-columns-7 .gallery-caption,
.entry .gallery-columns-8 .gallery-caption,
.entry .gallery-columns-9 .gallery-caption,
.widget .gallery-columns-2 .gallery-caption,
.widget .gallery-columns-3 .gallery-caption,
.widget .gallery-columns-4 .gallery-caption,
.widget .gallery-columns-5 .gallery-caption,
.widget .gallery-columns-6 .gallery-caption,
.widget .gallery-columns-7 .gallery-caption,
.widget .gallery-columns-8 .gallery-caption,
.widget .gallery-columns-9 .gallery-caption { display: none!important; }

/*  base : headings
/* ------------------------------------ */
h1, h2, h3, h4, h5, h6 { color: #545835; font-weight: 300; -ms-word-wrap: break-word; word-wrap: break-word; }
.entry h1 span, .entry h2 span, .entry h3 span, .entry h4 span, .entry h5 span, .entry h6 span { color: #aeb3c7; }
.entry h1,.entry h2,.entry h3,.entry h4,.entry h5,.entry h6  { margin-bottom: 14px; font-weight: 600; line-height: 1.3em; }
.entry h1 { font-size: 38px; letter-spacing: -1px; }
.entry h2 { font-size: 34px; letter-spacing: -0.7px; }
.entry h3 { font-size: 28px; letter-spacing: -0.5px; }
.entry h4 { font-size: 24px; letter-spacing: -0.3px; }
.entry h5 { font-size: 20px; font-weight: 600; }
.entry h6 { font-size: 16px; font-weight: 600; text-transform: uppercase; }

.heading,
#reply-title { font-weight: normal; font-size: 18px; font-weight: 600; margin-bottom: 1em; }
.heading i { font-size: 22px; margin-right: 6px; }


/* ------------------------------------------------------------------------- *
 *  Gutenberg
/* ------------------------------------------------------------------------- */
.entry .wp-block-image figcaption,
.entry .wp-block-audio figcaption,
.entry .wp-block-embed figcaption { font-size: 14px; text-align: center; }
.entry .wp-block-gallery { padding: 0; margin-left: 0; }
.entry .wp-block-gallery .blocks-gallery-grid { margin: 0; padding: 0; }
.entry .wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box; }
.entry .wp-block-quote { margin-bottom: 20px; }
.entry .wp-block-quote.is-large { padding-left: 50px; }
.entry .wp-block-pullquote.alignleft { margin-right: 2em; }
.entry .wp-block-pullquote.alignright { margin-left: 2em; }
.entry .wp-block-pullquote blockquote { padding-left: 50px; text-align: left; }
.entry .wp-block-pullquote blockquote p { line-height: 1.4em; }

.entry .wp-block-latest-comments { margin-left: 0; }
.entry .wp-block-code code { background: none; }
.entry .wp-block-button a { color: #fff; }
.entry .wp-block-file a.wp-block-file__button { color: #fff; }
.entry .has-large-font-size { line-height: 1.1em; }


/* ------------------------------------------------------------------------- *
 *  Base Structure
/* ------------------------------------------------------------------------- */

/*  base : layout
/* ------------------------------------ */
#wrapper { background: #fdffee; box-shadow: 0 0 20px #dbdecc; min-width: 1024px; max-width: 1080px; margin: 40px auto; border-radius: 20px; height: 100%; border-top: 1px solid transparent; overflow: hidden; }
.container {  }
.container-inner { min-width: 100%; width: 100%; margin: 0 auto; }
.main {  }
.main-inner { position: relative; min-height: 600px; /* instead of sticky footer */ }
.content { margin: 0 auto; position: relative; width: 100%; padding: 30px; box-sizing: border-box; }
.pad { padding: 0px; }
.pad-top { border-bottom: 1px solid #d3e2a8; }

/* boxed */
.boxed #wrapper {  }

/*  base : layout columns
/* ------------------------------------ */

/* 2 column, content left */
.col-2cl .main-inner { padding-right: 340px; }
.col-2cl .s1 { float: right; margin-right: -340px; }
.col-2cl .content { float: left; padding-right: 0; }

/* 2 column, content right */
.col-2cr .main-inner { padding-left: 340px; }
.col-2cr .s1 { float: left; margin-left: -340px; }
.col-2cr .content { float: right; padding-left: 0; }

/*  base : sidebar
/* ------------------------------------ */
.sidebar { position: relative; z-index: 2; }
.sidebar .pad { padding-left: 20px; padding-right: 20px; }

/* sidebar primary */
.s1 { width: 340px; z-index: 2; }
.sidebar-content { padding: 30px; box-sizing: border-box; overflow: hidden; }

/*  base : grid
/* ------------------------------------ */
.grid { margin-right: 3.2%; float: left; display: inline; position: relative; }
.last { clear: right; margin-right: 0!important; }

.one-full { margin-right: 0; width: 100%; }
.one-half { width: 48.4%; }
.one-third { width: 31.2%; }
.two-third { width: 65.6%; }
.one-fourth { width: 22.6%; }
.three-fourth { width: 74.2%; }
.one-fifth { width: 17.4%; }
.two-fifth { width: 38.1%; }
.three-fifth { width: 58.7%; }
.four-fifth { width: 79.4%; }


/* ------------------------------------------------------------------------- *
 *  Common Elements
/* ------------------------------------------------------------------------- */

/*  common : responsive videos
/* ------------------------------------ */
embed, object, iframe { max-width: 100%; }
.video-container { height: auto!important; max-width: 100%!important; text-align: center; }
.video-container iframe { margin: 0 auto; }
.video-container > div { margin: 0 auto; }

/*  common : responsive image + caption
/* ------------------------------------ */
.image-container { position: relative; }
.image-container img { display: block; width: 100%; height: auto; }
.image-caption { background: rgba(0,0,0,0.7); color: #fff; font-size: 13px; line-height: 1.3em; font-style: italic; padding: 8px 10px; position: absolute; bottom: 8px; left: 8px; margin-right: 8px;
-webkit-border-radius: 2px; border-radius: 2px; 
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03); }

/*  common : social links
/* ------------------------------------ */
.social-links { float: right; position: relative; z-index: 2; }
.social-links li { display: inline-block; margin-left: 8px; line-height: 16px; font-size: 0; }
.social-links li a { display: block!important; position: relative; text-align: center; }
.social-links .social-tooltip { color: #3f471b; font-size: 24px; display: inline; position: relative; z-index: 98; }
.social-links .social-tooltip:hover { color: #434b64; text-decoration: none; }
.social-links .social-tooltip:hover:after { top: -36px; background: #d3e2a8; font-size: 14px; color: #7d7f52; content: attr(title); display: block; right: 0; padding: 5px 15px; position: absolute; white-space: nowrap; 
-webkit-border-radius: 3px; border-radius: 3px; }
.social-links .social-tooltip:hover:before { top: -10px; right: 8px; border: solid; border-color: #d3e2a8 transparent; border-width: 5px 5px 0 5px; content: ""; display: block; position: absolute; z-index: 1; }

/*  common : page title
/* ------------------------------------ */
.page-title {  }
.page-title-inner { padding-bottom: 30px; }
.page-title i { margin-right: 12px; }
.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4 { font-size: 20px; line-height: 1.4em; font-weight: 600; }
.page-title span { color: #7d7f52; }
.page-title .notebox { font-size: 17px; font-weight: 300; margin-top: 10px; }
.page-title .notebox p { margin-bottom: 20px; }

/*  common : notebox
/* ------------------------------------ */
.notebox { position: relative; color: #565752; font-size: 15px; line-height: 1.6em;}
.error404 .notebox { margin-bottom: 30px; }
.notebox span { font-weight: 600; }
.notebox .search-again { margin-top: 10px; }
.notebox input[type="text"] { width: 100%; }

/*  common : page image
/* ------------------------------------ */
.page-image { overflow: hidden; position: relative; margin: 0 0 30px 0; }
.page-image-text { position: absolute; top: 50%; margin-top: -35px; width: 100%; text-align: center; }
.page-image-text .caption { color: #fff; font-size: 44px; line-height: 70px; text-transform: uppercase; font-weight: 600; text-shadow: 0 0 20px rgba(0,0,0,0.3); }
.page-image-text .description { display: block; color: #fff; font-size: 15px; line-height: 36px; font-weight: 300; }
.page-image-text .description i { background: rgba(0,0,0,0.7); opacity: 0.9; font-style: normal; padding: 6px 10px; -webkit-border-radius: 2px; border-radius: 2px; }

/*  common : pagination
/* ------------------------------------ */
.pagination { margin: 30px 0; }
.pagination a { font-size: 18px; font-weight: 600; }
.pagination ul { text-align: center; font-size: 0; }
.pagination ul li { display: inline-block; float: none; }
.pagination ul li a:before { font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 52px; line-height: 80px; display: block; }
.pagination ul li.next a:before { content: "\f105"; }
.pagination ul li.prev a:before { content: "\f104"; }
.pagination ul li a { display: inline-block; font-size: 0; margin: 10px; width: 80px; height: 80px; border-radius: 100%; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(193,203,230,0.3); }


/*  common : thumb icon
/* ------------------------------------ */
.thumb-icon { background: rgba(0,0,0,0.7); color: #fff; text-align: center; display: block; width: 32px; height: 32px; position: absolute; bottom: 50%; left: 50%; margin-left: -16px; margin-bottom: -16px;
-webkit-border-radius: 4px; border-radius: 4px;
-moz-transition: all 0.7s ease; -webkit-transition: all 0.7s ease; transition: all 0.7s ease;
-webkit-box-shadow: 0 0 2px rgba(255,255,255,0.4);
box-shadow: 0 0 2px rgba(255,255,255,0.4);
-webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
     -o-transform: rotate(45deg);
        transform: rotate(45deg); }
.thumb-icon i { font-size: 18px; padding: 7px 0;
-webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
        transform: rotate(-45deg); }
.thumb-icon .fa-play { margin: -1px 0 0 2px; }
.thumb-icon.small { width: 24px; height: 24px; position: absolute; bottom: 50%; left: 50%; margin: 0 0 -12px -12px;
-webkit-border-radius: 3px; border-radius: 3px; }
.thumb-icon.small i { font-size: 12px; line-height: 16px; padding: 5px 0; }


/* ------------------------------------------------------------------------- *
 *  Section: Header
/* ------------------------------------------------------------------------- */
#wrapper-inner { background: #eaecc4 url(img/pattern.png) repeat top center; margin: 20px 30px 30px; border-radius: 20px; }

#header .social-links { float: right; margin-top: 28px; }
#header .social-links li {  }
#header .social-links .social-tooltip { margin-left: 10px; font-size: 22px; color: #3f471b; }
#header .social-links .social-tooltip:hover { color: #676951; }
#header .social-links .social-tooltip:hover:after,
#header .social-links .social-tooltip:hover:before { display: none; }

#header { background: #fdffee; /*border-bottom: 2px solid #676951;*/ z-index: 3; position: relative; border-radius: 20px; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(193,203,230,0.3); }
.sticky-element-sticky #header { background: #fdffee; border-radius: 0 0 20px 20px; z-index: 99; }
@media only screen and (min-width: 1081px) {
	#header { -webkit-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	#header.hide-scroll { -webkit-transform: translateY(-100%); transform: translateY(-100%); }
}

/* 亮色模式：仅发光 */
#header .site-title a img {
  filter: drop-shadow(0 0 0 rgba(120,140,255,.32)); /* 模糊半径=0 */
  animation: md-glow-breath-light 3.8s ease-in-out infinite;
}
@keyframes md-glow-breath-light {
  0%,100% { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(120,140,255,.32)); }
  50%     { transform: scale(1.03); filter: drop-shadow(0 0 0 rgba(120,140,255,.50)); }
}

/* 深色模式：反转 + 发光（不使用模糊半径） */
body.dark #header .site-title a img {
  animation: md-glow-breath-dark 3.8s ease-in-out infinite;
}
@keyframes md-glow-breath-dark {
  0%,100% { transform: scale(1);    filter: invert(100%) drop-shadow(0 0 0 rgba(120,140,255,.32)); }
  50%     { transform: scale(1.03); filter: invert(100%) drop-shadow(0 0 0 rgba(120,140,255,.50)); }
}


#header .pad { padding: 0 0px;}
#header .container-inner { position: relative; }

#header-bottom { position: relative; }

#profile { background: #fdffee; box-shadow: 0 1px 0 rgb(0 0 0 / 10%), 0 3px 3px rgb(220 230 193 / 30%); position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 30px; text-align: center; transition: all 0.2s ease; }
#profile:hover { opacity: 0.9; }
#profile a { color: #fff; }
#profile a:hover { color: rgba(255,255,255,0.75); }
#profile-inner { position: relative; }
#profile-image { width: 100%; }
#profile-image img { width: 100%; display: block; }
#profile-name { background: #95978b; color: #fff; border-radius: 20px; position: relative; margin: -30px 30px 20px 30px; padding: 10px; font-size: 18px; font-weight: 600; line-height: 1.2em; }
#profile-name:after { content:""; display: block; position: absolute; bottom: -9px; right: 50%; margin-right: -10px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #95978b; }
#profile-description { font-size: 15px; padding: 0 30px 30px; line-height: 1.6em; font-weight: 300; color: #676951; position: relative; }

.site-title {font-size: 32px; font-weight: 600; position: relative; z-index: 2; display: flex; justify-content: center; /* 水平居中 */ align-items: center;     /* 垂直居中 */ color: var(--heading-color); /* 用主题色变量，支持暗色/浅色 */}
.site-title a { display: block; color: #3f471b; max-width: 100%; }
.site-title a img { display: block; max-width: 100%; max-height: 136px !important; height: auto; padding: 0; margin: 0 auto; -webkit-border-radius: 0; border-radius: 0; }
.site-description { font-size: 0px; font-weight: 300; color: #aeb3c7; float: left; margin: 30px 0 0 0; position: relative; z-index: 2; }
.site-header { background: #d3e2a8; }
.site-image { display: block; margin: 0 auto; max-height: 400px; }

/*  header : search
/* ------------------------------------ */
.toggle-search { position: absolute; right: 30px; top: 0; background: transparent; display: block; outline: none; float: right; border: 0; width: 30px; color: #3f471b; text-align: center; font-size: 20px; line-height: 24px; cursor: pointer; border-radius: 10px; padding: 16px 0; margin: 10px 0 10px 16px; }
.toggle-search:hover { color: #3f471b; }
.toggle-search.active { color: #3f471b; }
.toggle-search.active i:before { content: "\f00d"; }
.search-expand { display: none; position: absolute; top: 20px; right: 70px; width: 320px; z-index: 10; }
.search-expand-inner {  }
.search-expand .themeform input { background: #fafee6; width: 100%; border: 1px solid #e3eeca; border-radius: 10px; }
.search-expand .themeform input:focus { border-color: #aeb3c7; }
.toggle-search.active { padding-top: 18px; padding-bottom: 19px; }
.toggle-search .svg-icon { fill: #3f471b; margin: 0 auto; }
.toggle-search #svg-close,
.toggle-search.active #svg-search { display: none; }
.toggle-search.active #svg-close { display: block; }
.toggle-search:focus #svg-close { fill: #3f471b; }
.toggle-search:focus #svg-search,
.toggle-search.active #svg-close { fill: #7d7f52; }

/*  header : theme toggle
/* ------------------------------------ */
#theme-toggle { background: none; border: 0; padding: 0; display: block; cursor: pointer; position: absolute; top: 22px; right: 70px; }
#theme-toggle i { color: #676951; display: block; font-size: 24px; float: left; margin: 4px 0 0; }
#theme-toggle .fa-sun { display: block; }
#theme-toggle .fa-moon { display: none; }
#theme-toggle-btn { background: #d1d6c2; box-shadow: inset 0 1px 0 rgba(0,0,0,0.05); position: relative; display: block; width: 64px; height: 32px; margin-left: 32px; border-radius: 16px; }
#theme-toggle-btn:before { background: #676951; transition: all .25s; border: 4px solid #ffffff; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16); content: ""; position: absolute; top: 50%; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; }
body.dark #theme-toggle .fa-sun { display: none; }
body.dark #theme-toggle .fa-moon { display: block; }
body.dark #theme-toggle-btn { background: rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
body.dark #theme-toggle-btn:before { border-color: #141416; top: 2px; left: 34px; }


/* ------------------------------------------------------------------------- *
 *  Section: Navigation
/* ------------------------------------------------------------------------- */

/* menu hamburger */
.menu-toggle-icon { float: right; width: 30px; height: 20px; position: relative; transform: rotate(0deg); transition: .5s ease-in-out; cursor: pointer; }
.menu-toggle-icon span { display: block; position: absolute; height: 2px; width: 100%; background: #42471b; border-radius: 2px; opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.menu-toggle-icon span:nth-child(1) { top: 0px; transform-origin: left center; }
.menu-toggle-icon span:nth-child(2) { top: 8px; transform-origin: left center; }
.menu-toggle-icon span:nth-child(3) { top: 16px; transform-origin: left center; }
.toggled .menu-toggle-icon span:nth-child(1) { transform: rotate(45deg); top: -2px; left: 5px; }
.toggled .menu-toggle-icon span:nth-child(2) { width: 0%; opacity: 0; }
.toggled .menu-toggle-icon span:nth-child(3) { transform: rotate(-45deg); top: 19px; left: 5px; }

/* menu hide and display */
@media only screen and (min-width: 720px) {
	.mobile-menu #wrap-nav-mobile { display: none; }
}
@media only screen and (max-width: 719px) {
	.mobile-menu #wrap-nav-header { display: none; } 
	#nav-mobile,
	#nav-header,
	#nav-footer { display: none; }
	.mobile #nav-mobile,
	.mobile #nav-header,
	.mobile #nav-footer { display: block; }
}

/* menu base */
.nav-menu > .menu-toggle { display: none; }
.nav-menu.mobile > .menu-toggle { display: block; }
.nav-menu.mobile > .menu-toggle ~ * { max-height: 4000px; overflow: hidden; width: 100%; transition: max-height 0.5s cubic-bezier(1, 0, 1, 0); }
.nav-menu.mobile > .menu-toggle[aria-expanded="false"] ~ * { max-height: 0; transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1); }
.nav-menu .menu,
.nav-menu .menu ul { display: flex; list-style: none; list-style-type: none; margin: 0; padding: 0; }
.nav-menu a { display: block; text-decoration: none; width: 100%; }
.nav-menu.mobile ul { flex-direction: column; }
.nav-menu .menu ul { flex-direction: column; max-width: 0; max-height: 0; overflow: hidden; }
.nav-menu .menu ul.active,
.nav-menu:not(.mobile) .menu li.hover > ul { max-width: 100vw; max-height: 300vh; }
.nav-menu:not(.mobile) .menu .sub-menu { position: absolute; }

.nav-menu .screen-reader-text { display: none; }
.nav-menu .menu-item-wrapper { display: flex; }
.nav-menu { line-height: 20px; }
.nav-menu button { color: inherit; cursor: pointer; font-family: inherit; position: relative; text-align: inherit; user-select: none; background: none; border: none; box-shadow: none; border-radius: 0; font-size: inherit; font-weight: 400; letter-spacing: inherit; padding: 0; text-transform: none; }
.nav-menu.mobile .menu ul { transition: max-height 500ms; max-width: 100%; }

.nav-menu:not(.mobile) .menu { flex-wrap: wrap; justify-content: flex-start; }
.nav-menu:not(.mobile) .menu ul.active,
.nav-menu:not(.mobile) .menu li.hover > ul { overflow: visible; width: 200px; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
.nav-menu:not(.mobile) .menu ul .sub-menu { left: 220px; top: 0; }
.nav-menu:not(.mobile) .menu { position: relative; }
.nav-menu:not(.mobile) .menu ul { font-size: 15px; opacity: 0; padding: 10px 0; position: absolute; top: calc(100% + 20px); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(6px); z-index: 4; }
.nav-menu:not(.mobile) .menu ul li { position: relative; }
.nav-menu:not(.mobile) .menu ul a { display: block; padding: 7px 20px; transition: background-color 0.15s linear; width: 100%; }
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul {	min-width: 200px; max-width: 200px; max-height: 300vh; overflow: visible; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul:focus-within { opacity: 1!important; }
.nav-menu:not(.mobile) .menu li ul.sub-menu:not(.active) { opacity: 0; }
.nav-menu:not(.mobile) .menu li.hover ul.sub-menu:not(.active) { opacity: 1; }
.nav-menu:not(.mobile) .menu li.focus ul ul.sub-menu:not(.active) { opacity: 0; }
.nav-menu:not(.mobile) .menu li.focus ul li.hover ul.sub-menu { opacity: 1; }

.nav-menu:not(.mobile) .menu ul:before,
.nav-menu:not(.mobile) .menu ul:after { content: ""; display: block; position: absolute; bottom: 100%; }
.nav-menu:not(.mobile) .menu ul:before { left: 0; right: 0; height: 20px; }
.nav-menu:not(.mobile) .menu ul:after { border: 8px solid transparent; border-bottom-color: transparent; left: 18px; }
.nav-menu:not(.mobile) .menu ul ul { left: calc(100% + 20px); top: -10px !important; }
.nav-menu:not(.mobile) .menu ul ul:before { bottom: 0; height: auto; left: auto; left: -20px; top: 0; width: 22px; }
.nav-menu:not(.mobile) .menu ul ul:after { border-bottom-color: transparent; bottom: auto; left: -16px; top: 20px; }
.nav-menu-dropdown-left .nav-menu:not(.mobile) .menu ul ul:before { left: auto; right: -20px; }
.nav-menu-dropdown-left .nav-menu:not(.mobile) .menu ul ul { right: calc(100% + 20px); left: auto; }
.nav-menu-dropdown-left .nav-menu:not(.mobile) .menu ul ul:after { border-right-color: transparent; right: -16px; left: auto; }
.nav-menu-dropdown-left .nav-menu:not(.mobile) ul ul button .svg-icon { transform: none; }

.nav-menu:not(.mobile) a,
.nav-menu:not(.mobile) span { transition: all 0.3s ease; }

.nav-menu.mobile { padding: 0; }
.nav-menu.mobile button:focus { outline: none; }
.nav-menu.mobile > button { padding: 16px 20px; float: right; }
.nav-menu.mobile button .svg-icon { transition: all 250ms; }
.nav-menu.mobile button.active .svg-icon { transform: rotate(180deg); }
.nav-menu.mobile ul { border: 0; }
.nav-menu.mobile ul li .menu-item-wrapper { justify-content: space-between; width: 100%; }
.nav-menu.mobile > div > ul > li:last-child { margin-bottom: 52px; }
.nav-menu.mobile ul li a { font-size: 16px; font-weight: 600; padding: 14px 20px; }
.nav-menu.mobile ul ul li a { font-size: 14px; }
.nav-menu.mobile ul ul li a { padding: 12px 0 12px 40px; }
.nav-menu.mobile ul ul ul li a { padding: 12px 0 12px 60px; }
.nav-menu.mobile ul button { margin: 10px 0; padding: 0 20px; }

/* menu mobile fix */
.nav-menu.mobile > div > ul.menu,
.nav-menu.mobile.toggled > div > ul.menu ul.sub-menu { visibility: hidden; transition: all 0.3s ease; }
.nav-menu.mobile.toggled > div > ul.menu,
.nav-menu.mobile.toggled > div > ul.menu ul.sub-menu.active { visibility: visible; }
.nav-menu.mobile button:focus,
.menu-toggle:focus { background: #f4f5f8; }
.menu-toggle:focus { border-radius: 30px; }
.nav-menu.mobile ul ul button:focus { background: #e9ebf0; }

/* menu styling */
.nav-menu a { color: #fff; font-weight: 600; }
.nav-menu .svg-icon { fill: #3f471b; }
.nav-menu:not(.mobile) .menu ul { background: #d8dbe5; color: #fff; border-radius: 8px; }
.nav-menu:not(.mobile) .menu ul:after { border-bottom-color: #d8dbe5; }
.nav-menu:not(.mobile) .menu ul ul:after { border-right-color: #d8dbe5; }
.nav-menu-dropdown-left .nav-menu:not(.mobile) .menu ul ul:after { border-left-color: #3f471b; }

.nav-menu:not(.mobile) { font-size: 16px; font-weight: 400; float: left; padding: 12px 30px 0 30px; width: 100%; box-sizing: border-box; }
.nav-menu:not(.mobile) a { color: #3f471b; }
.nav-menu:not(.mobile) a:hover { color: #fff; }
.nav-menu:not(.mobile) ul ul a { font-size: 14px; }
.nav-menu:not(.mobile) ul ul a:hover { color: #3f471b; }
.nav-menu:not(.mobile) ul ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-menu:not(.mobile) ul ul > li:last-child { border-bottom: 0; }
.nav-menu:not(.mobile) ul ul > li:hover > span { background: rgba(255,255,255,0.1); }
.nav-menu:not(.mobile) ul ul a { color: #4b4b4b; }
.nav-menu:not(.mobile) button { background: none; color: #7d7f52; padding: 0 4px; margin-left: 2px; border-radius: 4px; }
.nav-menu:not(.mobile) button.active { background: rgba(0,0,0,0.06); }
.nav-menu:not(.mobile) button .svg-icon { fill: #c1c7ae; }
.nav-menu:not(.mobile) ul ul button { background: none; color: #d3e2a8; padding: 0 5px; margin: 0 10px 0 0; }
.nav-menu:not(.mobile) ul ul button.active { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.nav-menu:not(.mobile) ul ul button .svg-icon { transform: rotate(-90deg); }
.nav-menu:not(.mobile) .menu > li { margin: 6px 10px 0 0; position: relative; }

.nav-menu:not(.mobile) .menu > li:last-child { margin-right: 0; }
.nav-menu:not(.mobile) .menu > li > span { background: transparent; border: 1px solid rgb(113 125 90 / 21%); box-shadow: 0 2px 2px rgba(0,0,0,0.06); padding: 8px 8px; border-radius: 5px; line-height: 22px; }

 .nav-menu .menu > li.current-menu-item > span.menu-item-wrapper:hover {background: #8c915c; color: #FFF;}


.nav-menu:not(.mobile) .menu a { padding: 0; letter-spacing: 0px;}
.nav-menu:not(.mobile) .menu > li:hover > span {background: #8c915c; border-color: #c1c7ae; color: #fff; }

.nav-menu:not(.mobile) .menu > li:hover > span a {
  color: #fff !important; /* 强制文字颜色变为白色 */
}



.nav-menu:not(.mobile) .menu > li.current_page_item > span,
.nav-menu:not(.mobile) .menu > li.current-menu-item > span,
.nav-menu:not(.mobile) .menu > li.current-menu-ancestor > span,
.nav-menu:not(.mobile) .menu > li.current-post-parent > span {background: #676951;border: 1px solid transparent;}
.nav-menu:not(.mobile) li.current_page_item > span > a, 
.nav-menu:not(.mobile) li.current-menu-item > span > a, 
.nav-menu:not(.mobile) li.current-menu-ancestor > span > a, 

body .nav-menu:not(.mobile) li.current_page_item > span > a,
body .nav-menu:not(.mobile) li.current-menu-item > span > a,
body .nav-menu:not(.mobile) li.current-menu-ancestor > span > a,
body .nav-menu:not(.mobile) li.current-post-parent > span > a {color: #fff; }
.nav-menu:not(.mobile) ul ul li.current_page_item > span > a, 
.nav-menu:not(.mobile) ul ul li.current-menu-item > span > a, 
.nav-menu:not(.mobile) ul ul li.current-menu-ancestor > span > a, 
.nav-menu:not(.mobile) ul ul li.current-post-parent > span > a { color: #c1c7ae; }

.nav-menu.mobile { background: #fdffee; }
.nav-menu.mobile button.active .svg-icon { fill: #3f471b; }
.nav-menu.mobile ul ul { background: #f4f5f8; }
.nav-menu.mobile ul ul ul { background: #e9ebf0; }
.nav-menu.mobile ul li .menu-item-wrapper,
.nav-menu.mobile ul ul li .menu-item-wrapper { border-bottom: 1px solid #fcfff0; }
.nav-menu.mobile ul li a { color: #3f471b; }
.nav-menu.mobile ul button,
.nav-menu.mobile ul ul button { border-left: 1px solid #fcfff0; }
.nav-menu.mobile > div > ul { border-top: 1px solid #fcfff0; }

/* menu footer styling */
#footer .nav-menu:not(.mobile) { background: #fff; float: none; padding-top: 8px; padding-bottom: 14px; padding-left: 20px; padding-right: 20px; position: relative; z-index: 2; }
#footer .nav-menu:not(.mobile) button { transform: rotate(-180deg); }
#footer .nav-menu:not(.mobile) .menu ul button { transform: none; }
#footer .nav-menu:not(.mobile) .menu { justify-content: center; }
#footer .nav-menu:not(.mobile) .menu ul { top: auto; bottom: calc(100% + 19px); }
#footer .nav-menu:not(.mobile) .menu ul ul { bottom: auto; }
#footer .nav-menu:not(.mobile) .menu > li > ul:before, 
#footer .nav-menu:not(.mobile) .menu > li > ul:after { bottom: auto; top: 100%; }
#footer .nav-menu:not(.mobile) .menu ul:after { border-bottom-color: transparent; border-top-color: #3f471b; }
#footer .nav-menu:not(.mobile) .menu ul ul:after { border-right-color: #3f471b; border-top-color: transparent; }
#footer .nav-menu:not(.mobile) .menu > li { margin-bottom: 0; }
#footer .nav-menu.mobile { background: #fff; }


/* ------------------------------------------------------------------------- *
 *  Section: Page
/* ------------------------------------------------------------------------- */
.slick-posts { background: #d3e2a8; border-top: 1px solid rgba(0,0,0,0.07); margin-bottom: 0; overflow: hidden; }
.slick-posts:after { content: ""; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%); height: 30px; width: 100%; bottom: 0; position: absolute; left: 0; right: 0; pointer-events: none; }

.slick-featured-wrap-outer { display: none; }
.slick-featured-wrap { position: relative; }
.slick-featured { position: relative; z-index: 2; padding: 15px; border-bottom: 2px solid #cdd2b3; border-radius: 30px; }
.slick-featured-nav { position: absolute; left: 0; right: 0; top: 50%; margin-top: -10px; text-align: center; margin-bottom: 0; z-index: 3; }
.slick-featured-nav .slick-prev,
.slick-featured-nav .slick-next { background: #676951; transition: all 0.3s ease; position: absolute; display: inline-block; height: 40px; width: 38px; border-radius: 10px; }
.slick-featured-nav .slick-prev:hover,
.slick-featured-nav .slick-next:hover,
.slick-featured-nav .slick-prev:focus,
.slick-featured-nav .slick-next:focus { background: #676951; }
.slick-featured-nav .slick-prev { left: 0; border-radius: 0 20px 20px 0; }
.slick-featured-nav .slick-next { right: 0; border-radius: 20px 0 0 20px; }
.slick-featured-nav .slick-prev:hover,
.slick-featured-nav .slick-next:hover,
.slick-featured-nav .slick-prev:focus,
.slick-featured-nav .slick-next:focus { width: 54px; }
.slick-featured-nav .slick-prev:before { color: rgb(255 255 255 / 56%); font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f053"; }
.slick-featured-nav .slick-next:before { color: rgb(255 255 255 / 56%); font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f054"; }

.slick-featured .slick-dots { bottom: -40px; }
.slick-featured .slick-dots li { margin: 0 3px; }
.slick-featured .slick-dots li button { background: #cdd2b3; box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); margin: 4px; height: 10px; width: 10px; border-radius: 100%; text-indent: -9999px; overflow: hidden; }
.slick-featured .slick-dots .slick-active button { background: #f5f5f9; margin: 0; border: 4px solid #676951; }

.featured-item-outer {  }
.featured-item-wrap { position: relative; margin: 15px; border-radius: 20px; transition: all 0.3s ease; }
.featured-item { background: #fdffee; box-shadow: 0 1px 0 rgb(183 185 158 / 28%), 0 3px 3px rgb(170 180 141 / 30%); padding: 0; border-radius: 20px; position: relative; }
.featured-item-link { display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 4; border-radius: 20px; }
.featured-item-thumb { background-position: center; background-size: cover; border-radius: 20px 20px 0 0; overflow: hidden; position: relative; z-index: 2; overflow: hidden; width: 100%; height: 160px; }
.featured-item-content { padding: 20px; position: relative; z-index: 3; }
.featured-item-content:before { content:""; display: block; background: #676951; height: 4px; position: absolute; width: 100%; top: 0; left: 0; visibility: hidden; -webkit-transform: translate3d(0,0,0) scaleX(0); transform: translate3d(0,0,0) scaleX(0); transition: all .3s ease 0s; }
.featured-item:hover .featured-item-content:before { visibility: visible; -webkit-transform: translate3d(0,0,0) scaleX(1); transform: translate3d(0,0,0) scaleX(1); }
.featured-item-title { height: 70px; overflow: hidden; overflow: hidden; font-size: 16px; font-weight: 500; line-height: 1.3em; transition: all 0.3s ease; }
.featured-item:hover .featured-item-title { color: #676951; }
.featured-item:hover .thumb-icon { background: #fdffee; color: #3f471b; }

.slick-posts-nav { position: relative; text-align: center; margin-top: 20px; margin-bottom: 0; border-bottom: 1px solid #d3e2a8; }
.slick-posts-nav .slick-prev,
.slick-posts-nav .slick-next { background: #d3e2a8; transition: all 0.3s ease; position: relative; display: inline-block; margin: 10px 10px 0; height: 34px; width: 34px; border-radius: 4px; }
.slick-posts-nav .slick-prev:hover,
.slick-posts-nav .slick-next:hover,
.slick-posts-nav .slick-prev:focus,
.slick-posts-nav .slick-next:focus { background: #e5e5e5; }
.slick-posts-nav .slick-prev { left: 0; }
.slick-posts-nav .slick-next { right: 0; }
.slick-posts-nav .slick-prev:before { color: #3f471b; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f053"; }
.slick-posts-nav .slick-next:before { color: #3f471b; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f054"; }

.slick-image-slide-wrapper { position: relative; }
.slick-image-slide { background: #3f471b; }
.slick-image-slide .slick-slide > div > div { display: block!important; }
.slick-image-slide .slick-slide { position: relative; }
.slick-image-slide .slick-slide img { margin: 0 auto; }
.slick-image-slide-nav { position: absolute; text-align: center; margin-top: -10px; position: absolute; left: 0; right: 0; top: 50%; z-index: 99; pointer-events: none; }
.slick-image-slide-nav .slick-prev { float: left; }
.slick-image-slide-nav .slick-next { float: right; }
.slick-image-slide-nav .slick-prev,
.slick-image-slide-nav .slick-next { background: #d3e2a8; transition: all 0.3s ease; position: relative; display: inline-block; margin: 10px; height: 34px; width: 34px; border-radius: 4px; pointer-events: auto; }
.slick-image-slide-nav .slick-prev:hover,
.slick-image-slide-nav .slick-next:hover,
.slick-image-slide-nav .slick-prev:focus,
.slick-image-slide-nav .slick-next:focus { background: #e5e5e5; }
.slick-image-slide-nav .slick-prev { left: 0; }
.slick-image-slide-nav .slick-next { right: 0; }
.slick-image-slide-nav .slick-prev:before { color: #3f471b; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f053"; }
.slick-image-slide-nav .slick-next:before { color: #3f471b; font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f054"; }
.slick-image-slide-dots { background: red; }
.slick-image-slide-dots .slick-dots li { height: 10px; width: 10px; margin: 0 3px; }
.slick-image-slide-dots .slick-dots li button { background: rgba(0,0,0,0.2); height: 10px; width: 10px; border-radius: 100%; text-indent: -9999px; overflow: hidden; }
.slick-image-slide-dots .slick-dots .slick-active button { background: rgba(0,0,0,0.7); }

.post-format { position: relative; }

.front-widgets { margin-bottom: 30px; }
.front-widget-col { width: 50%; float: left; }
.front-widget-inner { margin-right: 30px; }
.front-widgets .widget { padding-top: 20px; padding-bottom: 20px; }
.front-widgets .widget > h3 {  }


/* ------------------------------------------------------------------------- *
 *  Section: Footer
/* ------------------------------------------------------------------------- */

/*  footer : highlights
/* ------------------------------------ */
.card-articles-wrap { padding-bottom: 30px; border-radius: 30px; position: relative; }
.card-articles { display: flex; }
.card-articles:after { content: ""; position: absolute; right: 30px; top: 3rem; bottom: 3.6rem; width: 3px; border-radius: 5px; background: #676951; }
.card-header { margin-left: 30px; border-radius: 20px; margin-top: 4rem; flex: 0 0 80px; margin-right: 1rem; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem 1rem; transform: translateY(-10px); }
.card-header:before { content: ""; background: #676951; box-shadow: 0 10px 10px rgba(0,0,0,0.03), 0 1px 0 rgba(0,0,0,0.05); position: absolute; top: -3px; left: -3px; width: calc(100% + 6px); height: calc(100% + 6px); z-index: 1; border-radius: 20px; }
.card-header:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 2; border-radius: 16px; }
.card-header-title { color: #676951; position: relative; z-index: 3; font-size: 17px; text-align: center; line-height: 1.3em; font-weight: 600; }
.card-header-title i { font-size: 32px; display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.mini-card-grid { width: 100%; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); margin: 0 0 1.5rem; position: relative; scrollbar-color: #d3e2a8 #fff; scrollbar-gutter: always; padding: 3rem 0 3rem 1rem; margin: 0; margin-right: 30px; display: flex; overflow-x: scroll; -webkit-overflow-scrolling: touch; }
.mini-card { min-width: 300px; min-height: 100px; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(193,203,230,0.3); position: relative; padding: 1.5rem; border-radius: 20px; background: linear-gradient(85deg,#fff,#eeeef2); color: #fff; display: flex; flex-direction: column; transition: .2s; margin: 0; }

.mini-card:first-child:focus-within, 
.mini-card:first-child:hover { transform: translate(-1rem); }
.mini-card:focus-within, 
.mini-card:hover { transform: translate(-1rem); }
.mini-card:not(:first-child) { margin-left: -160px; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(193,203,230,0.3); }
.mini-card:focus-within ~ .mini-card, 
.mini-card:hover ~ .mini-card { transform: translateX(130px); }

.mini-card-title { font-size: 17px; line-height: 1.3em; font-weight: 600; margin-bottom: 10px; }
.mini-card-title a:hover { color: #676951; }
.mini-card-category { color: rgba(0,0,0,0.3); margin-bottom: 6px; }
.mini-card-category a { color: #676951; font-weight: 600; }
.mini-card-category a:hover { color: #3f471b; }
.mini-card-date { font-size: 14px; color: #7d7f52; }
.mini-card-date i { margin-right: 6px; }
.mini-card-author {  }
.mini-card-thumb { background: #fff; box-shadow: 0 10px 10px rgba(0,0,0,0.03), 0 1px 0 rgba(0,0,0,0.05); padding: 5px; position: absolute; right: 15px; bottom: 15px; width: 64px; height: 64px; border-radius: 20px; }
.mini-card-thumb img { width: 64px; height: 64px; border-radius: 16px; }

/*  footer
/* ------------------------------------ */
#footer { background: #fdffee; color: #7d7f52; border-radius: 0 0 20px 20px; position: relative; margin: 5px; }
#footer .pad { padding-bottom: 20px; }

#footer-ads { background: #fff; text-align: center; padding: 10px 0; border-bottom: 1px solid #f4f5f8; }
#footer-ads .widget { padding-bottom: 0; font-size: 0; line-height: 0; }
#footer-ads h3 { display: none; }

#footer-widgets { background: #fff; }
#footer-widgets .widget { padding: 20px 0; }

#footer-bottom { border-top: 1px solid #f4f5f8; position: relative; overflow: hidden; z-index: 99; text-align: center; }
#footer-bottom img { box-shadow: none; }
#footer-bottom .pad { padding-top: 20px; }
#footer-bottom a { color: #434b64; }
#footer-bottom a:hover { color: #3f471b; }
#footer-bottom #footer-logo { display: inline-block; margin-bottom: 20px; max-height: 60px; -webkit-border-radius: 0; border-radius: 0; }
#footer-bottom #copyright {  }
#footer-bottom #copyright,
#footer-bottom #credit { color: #45471b; font-size: 16px; line-height: 1.5em; }
#footer-bottom #back-to-top { background: #e6e9d2; color: #8d946f; padding: 10px 0; overflow: hidden; text-align: center; width: 60px; height: 30px; display: block; margin: 0 auto; margin: -1px auto 0; border-radius: 0 0 4px 4px; }
#footer-bottom #back-to-top i { font-size: 38px; position: relative; top: -7px; }
#footer-bottom #back-to-top:hover { color: #3f471b; }
#footer-bottom .social-links { padding-top: 40px; float: none; }
#footer-bottom .social-links a { color: #434b64; }
#footer-bottom .social-links a:hover { color: #3f471b; }
#footer-bottom .social-links .social-tooltip { font-size: 20px; }
#footer-bottom .social-links .social-tooltip:hover:after { background: #3f471b; color: #fff; }
#footer-bottom .social-links .social-tooltip:hover:before { border-color: #3f471b transparent; }


/* ------------------------------------------------------------------------- *
 *  Post Entry
/* ------------------------------------------------------------------------- */
.sticky {}
.post-wrapper { background: #fdffee; position: relative; z-index: 1; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgb(223 230 193 / 30%); border-radius: 16px; }

.entry-line-entry { margin-left: 40px; }
.entry-line { background: #e2e6ce; width: 2px; z-index: 2; position: absolute; left: 0; top: -30px; bottom: -30px; }
.entry-line-inner { height: 20px; width: 20px; top: 90px; position: absolute; border-top: 2px solid #d7deb6; border-left: 2px solid #d7dfbc; border-radius: 20px 0 0 0; }
.entry-line-bullet { background: #676951; height: 20px; width: 20px; border: 5px solid #bcbf96; border-radius: 100%; position: absolute; left: 20px; top: -20px; border-radius: 100%; z-index: 1; }
.entry-line-bullet-inner { background: #f4f5f8; margin: 5px; height: 10px; width: 10px; border-radius: 100%; }

.entry-header,
.entry-media,
.entry-content,
.entry-footer { max-width: 740px; padding-right: 40px; padding-left: 40px; margin-right: auto; margin-left: auto; margin-top: 40px;}

.wrap-entry-line { position: relative; }
.wrap-entry-line:last-child .entry-line:before { background: linear-gradient(0deg, #e9efc3 0%, #e1e8bb 100%); content:""; display: block; width: 2px; height: 60px; position: absolute; left: 0; bottom: 0; }
.wrap-entry-line:first-child .entry-line:before { background: linear-gradient(0deg, #e6eacd 0%, #eef2d7 100%); content:""; display: block; width: 2px; height: 60px; position: absolute; left: 0; top: 0; }

.entry-header { margin: 15px auto 20px; position: relative; }
.entry-header .entry-title { font-weight: 500; font-size: 18px; line-height: 1.3em; letter-spacing: .5px; }
.entry-header .entry-title a { color: #6a6f58; }
.entry-header .entry-title a:hover { color: #838c0e; }
.entry-meta { position: relative; font-weight: 400; color: #757764; font-size: 15px; padding: 0 0 10px 40px; margin-bottom: 60px; }
.entry-meta-inner { background: #e6e9d2; box-shadow: inset 0 1px 0 #ffffff, 0 1px 0 #adb181; box-sizing: border-box; position: relative; margin-bottom: -32px; padding: 30px 20px 4px; margin-top: -20px; border-radius: 16px; float: left; }
.entry-meta .byline { margin-right: 3px; }
.entry-meta .byline a { color: #757764; }
.entry-meta .byline a:hover { color: #3f471b; }
.entry-meta .entry-category a { background: rgb(252 255 235 / 67%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 0 rgba(0,0,0,0.06); display: inline-block; color: #8c8e73; font-size: 14px; font-weight: 400; padding: 1px 7px; border-radius: 3px; margin-right: 2px; margin-bottom: 6px; }
.entry-meta .entry-category a:hover { background: #4d523b; color: #fff; }
.entry-meta .entry-comments { color: #676951; font-size: 24px; float: right; position: relative; margin-left: 10px; }
.entry-meta .entry-comments span { font-size: 12px; font-weight: 600; color: rgb(255 255 255 / 82%); line-height: 24px; position: absolute; right: 0; top: 0; width: 100%; text-align: center; }
.entry-meta .entry-comments:hover { color: #869254; }
.entry-media { max-width: 940px; margin: 0 -40px 20px; position: relative; }
.entry-media img { width: 100%; }
.entry-media > a:hover .thumb-icon { background: #fff; color: #3f471b; }
.entry-content { margin-bottom: 40px; }
.entry-footer { margin-top: 20px; margin-bottom: 40px; }

/*  entry : grid
/* ------------------------------------ */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 30px; }

.entry-grid .entry-comments { color: #676951; position: absolute; right: 10px; bottom: 10px; font-size: 24px; }
.entry-grid .entry-comments span { font-size: 12px; font-weight: 600; color: #fff; line-height: 24px; position: absolute; right: 0; top: 0; width: 100%; text-align: center; }
.entry-grid .entry-comments:hover { color: #3f471b; }

.entry-grid .entry-header { margin-top: 20px; padding: 0; }
.entry-grid .entry-media { margin: 0; padding: 0; }
.entry-grid .entry-media img { border-radius: 16px; }
.entry-grid .entry-content { padding: 0; margin-bottom: 20px; }
.entry-grid .entry-header .entry-title { font-size: 22px; letter-spacing: 0; }
.entry-grid .entry-meta { padding-left: 0; padding-top: 14px; margin-bottom: 0; }
.entry-grid .entry-meta-inner { background: none; box-shadow: none; padding: 0; margin: 0; width: 100%; }
.entry-grid .entry-meta .entry-comments {  }
.entry-grid .entry-category { display: block; margin-top: 6px; }

@media only screen and (max-width: 719px) {
	.entry-grid.entry-wrap { margin: 0 20px 0 30px; }
}

/*  entry : list
/* ------------------------------------ */
.entry-list {  }
.entry-list .entry-list-wrap { padding-left: 260px; position: relative; }
.entry-list .entry-list-wrap .entry-media { margin-left: -260px; float: left; width: 230px; }

.entry-list .entry-comments { color: #676951; position: absolute; right: 10px; bottom: 10px; font-size: 24px; }
.entry-list .entry-comments span { font-size: 12px; font-weight: 600; color: #fff; line-height: 24px; position: absolute; right: 0; top: 0; width: 100%; text-align: center; }
.entry-list .entry-comments:hover { color: #3f471b; }

.entry-list .entry-header { float: left; width: 100%; margin-top: 0; padding: 0; }
.entry-list .entry-media { margin: 0; padding: 0; }
.entry-list .entry-media img { border-radius: 16px; }
.entry-list .entry-content { padding: 0; margin-bottom: 20px; }
.entry-list .entry-header .entry-title { font-size: 22px; letter-spacing: 0; }
.entry-list .entry-meta { padding-left: 0; padding-top: 14px; margin-bottom: 30px; }
.entry-list .entry-meta-inner { padding: 10px 14px 4px; margin: 0; width: 100%; }

@media only screen and (max-width: 719px) {
	.entry-list.entry-wrap { margin: 0 20px 0 30px; }
}
@media only screen and (max-width: 560px) {
	.entry-list .entry-list-wrap { padding-left: 0; }
	.entry-list .entry-list-wrap .entry-media { margin-left: 0; float: none; width: 100%; margin-bottom: 20px; }
}
@media only screen and (max-width: 479px) {
	.entry-list .entry-category {  display: block; }
}	
	

/* ------------------------------------------------------------------------- *
 *  Single
/* ------------------------------------------------------------------------- */

/*  single : sharrre
/* ------------------------------------ */
.sharrre-container { border: 1px solid #d3e2a8; border-radius: 14px; overflow: hidden; margin-top: 30px; }
.sharrre-container > span { display: none; }
.post-sharrre {  }
.sharrre { width: 25%; float: left; }
.sharrre .box { display: block; padding: 10px 20px; border-bottom: 0 solid #3f471b; border-left: 1px solid #d3e2a8; }
.sharrre .count { width: 60%; background: #d3e2a8; color: #fff; display: block; font-size: 15px; font-weight: 900; line-height: 30px; position: relative; text-align: center; border-radius: 6px; }
.sharrre .count:after { content:''; display: block; position: absolute; right: -12px; width: 0; height: 0; border: solid 6px transparent; border-left-color: #d3e2a8; bottom: 9px; }
.sharrre .share { width: 20%; margin-left: 20%; display: block; font-size: 24px; font-weight: 600; line-height: 32px; padding: 0; text-align: center; text-decoration: none; }
.sharrre .share,
.sharrre .count,
.sharrre .count:after { float: left; -webkit-transition: all .3s ease; transition: all .3s ease; }
.sharrre .box:hover { background: #fff!important; }
.sharrre .box:hover .share {}
.sharrre .box:hover .count { color: #fff!important; }

.sharrre#twitter .box:hover { background: #eef6f9; }
.sharrre#twitter .box { border-left: 0; border-bottom-color: #24a5db; }
.sharrre#twitter .box:hover .count:after { border-left-color: #24a5db; }
.sharrre#twitter .count,
.sharrre#twitter .share,
.sharrre#twitter .box:hover .count { color: #24a5db; }
.sharrre#twitter .box:hover .count { background: #24a5db; }

.sharrre#facebook .box:hover { background: #f0f2f7; }
.sharrre#facebook .box { border-bottom-color: #3b5998; }
.sharrre#facebook .box:hover .count:after { border-left-color: #3b5998; }
.sharrre#facebook .count,
.sharrre#facebook .share,
.sharrre#facebook .box:hover .count { color: #3b5998; }
.sharrre#facebook .box:hover .count { background: #3b5998; }

.sharrre#pinterest .box:hover { background: #fbf1f0; }
.sharrre#pinterest .box { border-bottom-color: #ca2128; }
.sharrre#pinterest .box:hover .count:after { border-left-color: #ca2128; }
.sharrre#pinterest .count,
.sharrre#pinterest .share,
.sharrre#pinterest .box:hover .count { color: #ca2128; }
.sharrre#pinterest .box:hover .count { background: #ca2128; }

.sharrre#linkedin .box:hover { background: #f2f8fb; }
.sharrre#linkedin .box { border-bottom-color: #0077b5; }
.sharrre#linkedin .box:hover .count:after { border-left-color: #0077b5; }
.sharrre#linkedin .count,
.sharrre#linkedin .share,
.sharrre#linkedin .box:hover .count { color: #0077b5; }
.sharrre#linkedin .box:hover .count { background: #0077b5; }

/*  single : post pages
/* ------------------------------------ */
.post-pages { font-weight: 600; margin-bottom: 20px; }

/*  single : tags
/* ------------------------------------ */
.post-tags { margin: 0 0 60px; }
.post-tags span { font-size: 14px; color: #7d7f52; font-weight: 500; display: inline-block; margin: 0 7px 0 0; }
.post-tags a { background: #eef1d7; box-shadow: none; display: inline-block; white-space: nowrap; font-size: 14px; color: #898e73; padding: 1px 10px; margin: 0 5px 6px 0; border-radius: 6px; }
.post-tags a:hover { background-color: #676951; color: #fff; box-shadow: none; }

/*  single : author bio
/* ------------------------------------ */
.author-bio { background: #fff; padding: 0 20px 20px; border-radius: 14px; position: relative; color: #7d7f52; margin: 40px 0; text-align: center; border: 1px solid #d3e2a8; }
.author-bio .bio-avatar { width: 64px; height: auto; position: relative; display: inline-block; margin-top: -32px; }
.author-bio .bio-avatar:after { background: #3f471b; position: absolute; right: 0; bottom: 0; padding: 4px 4px; content: "\f303"; color: #fff; font-size: 10px; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 6 Free"; font-weight: 900; text-align: center; border-radius: 100%; }
.author-bio .bio-avatar img { display: block; width: 100%; height: auto; border-radius: 100%; }
.author-bio p { margin-bottom: 8px; }
.author-bio .bio-name { color: #3f471b; font-size: 19px; font-weight: 600; margin: 10px 0; }
.author-bio .bio-desc { color: #7d7f52; font-size: 14px; line-height: 1.5em; }

/*  single : related posts
/* ------------------------------------ */
.related-posts { margin-bottom: 40px; }
.related-posts li { width: 33.33%; float: left; display: inline; }
.related-post { border-right: 1px solid transparent; }
.related-inner { padding: 0 20px 0 0; }
.related-title { margin-bottom: 10px; font-size: 17px; font-weight: 300; line-height: 1.4em; letter-spacing: 0; display: block; }
.related-title a { color: #3f471b; box-shadow: 0 1px 0 #aeb3c7; }
.related-title a:hover  { color: #3f471b; box-shadow: 0 1px 0 #3f471b; }
.related-thumbnail { width: 100%; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; }
.related-thumbnail { position: relative; margin-bottom: 20px; }
.related-thumbnail img { display: block; width: 100%; height: auto; }
.related-thumbnail:hover .thumb-icon { background: #fff; color: #3f471b; }

/*  single : post-nav
/* ------------------------------------ */
.post-nav { border-radius: 14px; overflow: hidden; margin-bottom: 50px; }
.post-nav li { width: 50%; display: inline; float: left; }
.post-nav li a { background: #f5f7e5; position: relative; display: block; padding-top: 10px; padding-bottom: 10px; }
.post-nav li i { color: #c2c7ae; font-size: 18px; position: absolute; top: 50%; margin-top: -10px; }
.post-nav li a strong { display: block; font-size: 12px; color: #888e73; letter-spacing: 0.5px; font-weight: normal; text-transform: uppercase; }
.post-nav li a span { font-size: 17px; font-weight: 400; color: #3f471b; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.post-nav li a:hover span { color: #3f471b; }
.post-nav li a:hover i { color: #3f471b; }
.post-nav li.previous { float: left; }
.post-nav li.next { float: right; }
.post-nav li.previous a { border-left: 1px solid rgb(255 255 255 / 63%); padding-left: 40px; padding-right: 20px; }
.post-nav li.next a { border-left: 1px solid rgb(255 255 255 / 63%); padding-left: 20px; padding-right: 40px; }
.post-nav li.previous i { left: 10px; }
.post-nav li.next i { right: 10px; }
.post-nav li a span,
.post-nav li a i { transition-property: background color; transition-duration: 0.2s; transition-timing-function: ease-out; }

.sidebar .post-nav { background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(193,203,230,0.3); margin-bottom: 30px; border-radius: 20px; }
.sidebar .post-nav li { width: 100%; }
.sidebar .post-nav li:first-child { border-bottom: 1px solid #d3e2a8; }
.sidebar .post-nav li a { background: transparent; }
.sidebar .post-nav li a:hover span { color: #676951; }
.sidebar .post-nav li.previous a { border-left: 1px solid transparent; }
.sidebar .post-nav li.next a { border-left: 1px solid transparent; }


/* ------------------------------------------------------------------------- *
 *  Post Formats
/* ------------------------------------------------------------------------- */
.post-format {  }

/*  format : image
/* ------------------------------------ */

/*  format : gallery
/* ------------------------------------ */

/*  format : video
/* ------------------------------------ */

/*  format : audio
/* ------------------------------------ */
.format-audio .post-format iframe { height: 166px; width: 100%; }


/* ------------------------------------------------------------------------- *
 *  Widgets
/* ------------------------------------------------------------------------- */
.widget { color: #7d7f52; font-size: 14px; }
.widget a { color: #8e8f89; font-weight: 400; }
.widget a:hover { color: #838c0e; }
.widget > h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; padding: 0; }
.widget > h3 a,
.widget > h3 a:hover { color: #838c0e; }
.widget > h3 a img { display: none; float: left; margin: 3px 7px 0 0; }
.widget select { border: 1px solid #d8dbe5; color: #7d7f52; font-size: 15px; padding: 7px; width: 100%; max-width: 100%; }
.widget label.screen-reader-text { display: none; }


/* 仅亮色模式下（body 上没有 .dark 时）修改小工具里的悬停颜色 */
body:not(.dark) .sidebar .widget a:hover,
body:not(.dark) .sidebar .widget li:hover > a,
body:not(.dark) .widget .post-list a:hover,
body:not(.dark) .alx-tabs .tab-item:hover .tab-item-title a,
body:not(.dark) .alx-tabs .tab-item-title a:hover{
  color: #838c0e;  /* 换成你想要的颜色 */
  text-decoration: none;
}

.sidebar .widget { background: #fdffee; overflow: hidden; box-shadow: 0 1px 0 rgb(0 0 0 / 10%), 0 3px 3px rgb(228 230 193 / 30%); padding: 30px 30px 20px; margin-bottom: 30px; border-radius: 20px; }

/*  widgets : icons
/* ------------------------------------ */
.widget > ul li:before,
.widget > ul li a:before,
.widget > div > ul li a:before,
.widget_calendar caption:before { font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; margin-right: 6px; color: #aeb3c7; display: inline-block!important; width: 1em; text-align: center; }
.widget > ul li a:hover:before { color: #aeb3c7; }

.widget_archive > ul > li a:before { content: "\f073"; } 
.widget_categories > ul > li a:before { content: "\f07c"; }
.widget_links > ul > li a:before { content: "\f08e"; }
.widget_meta > ul > li a:before { content: "\f0da"; }
.widget_recent_comments > ul > li:before { content: "\f075"; }
.widget_recent_entries > ul > li a:before { content: "\f017"; }
.widget_calendar caption:before { content: "\f073"; }
.widget_pages ul li a:before,
.widget_nav_menu ul li a:before { content: "\f068"; }

/*  widgets : common
/* ------------------------------------ */
.widget_search > h3,
.widget_text > h3,
.widget_tag_cloud > h3,
.widget_calendar > h3 { margin-bottom: 1em; }

.widget_archive ul li, 
.widget_categories ul li, 
.widget_links ul li, 
.widget_meta ul li, 
.widget_recent_comments ul li, 
.widget_recent_entries ul li,
.widget_rss ul li,
.widget_pages ul li a,
.widget_nav_menu ul li a,
.alx-tab li,
.alx-posts li { padding: 7px 0; }

.widget_archive ul li,
.widget_categories ul li,
.widget_links ul li { color: #aeb3c7; }

.widget_recent_comments ul li,
.widget_recent_entries ul li { color: #7d7f52; }
.widget_recent_entries .post-date { display: block; }

/*  widget : pages / custom menu
/* ------------------------------------ */
.widget_pages ul li a,
.widget_nav_menu ul li a { display: block; }
.widget_pages li li a,
.widget_nav_menu li li a { padding-left: 15px; }
.widget_pages li li li a,
.widget_nav_menu li li li a { padding-left: 30px; }
.widget_pages ul ul, 
.widget_pages ul ul ul,
.widget_nav_menu ul ul, 
.widget_nav_menu  ul ul ul { border: 0; }

/*  widget : categories
/* ------------------------------------ */
.widget_categories li li { padding-left: 15px; border-bottom: 0; padding-bottom: 0; }
.widget_categories li li li { padding-left: 15px; border-bottom: 0; }
.widget_categories li li a { font-size: 13px; }

/*  widget : rss
/* ------------------------------------ */
.widget_rss ul li a { color: #3f471b; display: block; }
.widget_rss ul li span.rss-date { color: #3f471b; font-weight: 600; display: block; text-transform: uppercase; font-size: 12px; }
.widget_rss ul li cite { color: #aeb3c7; }

/*  widget : search
/* ------------------------------------ */
.widget_search input.search { color: #aeb3c7; padding-left: 26px; width: 100%; }
.widget_search .screen-reader-text,
.widget_search #searchsubmit { display: none; }

/*  widget : text
/* ------------------------------------ */
.widget_text .textwidget p { margin-bottom: 1em; }

/*  widget : calendar
/* ------------------------------------ */
.widget_calendar a { color: #3f471b; font-weight: 600; }
.widget_calendar a:hover { color: #3f471b!important; }
.widget_calendar #wp-calendar { width: 100%; }
.widget_calendar caption { background: #3f471b; color: #fff; padding: 5px 10px; }
.widget_calendar caption:before { color: #fff; color: rgba(255,255,255,0.7); font-size: 15px; }
.widget_calendar thead { background: #d3e2a8; -webkit-box-shadow: 0 1px 0 #d3e2a8; box-shadow: inset 0 -1px 0 #d3e2a8; }
.widget_calendar th { font-weight: 600; }
.widget_calendar th, 
.widget_calendar td { padding: 3px 0; text-align: center; border: 1px solid #d3e2a8; }
.widget_calendar .pad { padding: 0!important; }

/*  custom widget : alxtabs / alxposts
/* ------------------------------------ */
.alx-tabs-nav { margin-bottom: 10px; text-align: center; }
.alx-tabs-nav.tab-count-1 li { width: 100%; }
.alx-tabs-nav.tab-count-2 li { width: 50%; }
.alx-tabs-nav.tab-count-3 li { width: 33.333%; }
.alx-tabs-nav.tab-count-4 li { width: 25%; }
.alx-tabs-nav li { display: block; float: left; }
.alx-tabs-nav li a { color: #d0d4b0; font-size: 18px; display: block; padding: 14px 0; border-bottom: 1px solid #d3e2a8; }
.alx-tabs-nav li a:hover {  }
.alx-tabs-nav li.active a { color: #676951; border-bottom-color: #676951; }
.alx-tabs-nav li a span { display: none; }

.alx-tab li,
.alx-posts li { font-weight: 300; line-height: 1.4em; }
.alx-tab a,
.alx-posts a { -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; transition: all 0.2s ease; }
.alx-tab img,
.alx-posts img { display: block; width: 100%; height: auto; border-radius: 3px; }
.alx-tab img {  }
.alx-tab.thumbs-enabled li{ padding-left: 62px; }
.alx-tab .tab-item-thumbnail { width: 48px; margin-left: -62px; float: left; }
.alx-tab .tab-item-thumbnail,
.alx-posts .post-item-thumbnail { position: relative; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; }
.alx-tab.avatars-enabled li{ padding-left: 62px; }
.alx-tab .tab-item-avatar { margin-left: -62px; width: 48px; float: left; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; }
.alx-tab .tab-item-category,
.alx-posts .post-item-category { color: #aeb3c7; font-size: 14px; }
.alx-tab .tab-item-title a,
.alx-tab .tab-item-comment a,
.alx-posts .post-item-title a { color: #45471b; font-weight: 400; }
.alx-posts .post-item-title a:hover { color: #838c0e; font-weight: 400; }
.alx-tab .tab-item-category a:hover,
.alx-posts .post-item-category a:hover { color: #838c0e!important; }
.alx-tab .tab-item-title,
.alx-tab .tab-item-comment,
.alx-posts .post-item-title { margin: 2px 0; -ms-word-wrap: break-word; word-wrap: break-word; }
.alx-tab .tab-item-date,
.alx-tab .tab-item-name,
.alx-posts .post-item-date  { color: #7d7f52; font-size: 13px; }
.alx-tab li:hover .tab-item-thumbnail,
.alx-tab li:hover .tab-item-avatar,
.alx-posts li:hover .post-item-thumbnail { opacity: 0.75; }
.alx-tab li:hover .thumb-icon,
.alx-posts li:hover .thumb-icon { background: #fff; color: #3f471b; }

.alx-tab .tab-item-category a,
.alx-posts .post-item-category a { color: #7d7f52; }
.alx-tab li:hover .tab-item-title a,
.alx-tab li:hover .tab-item-comment a,
.alx-posts li:hover .post-item-title a { color: #676951; }

.alx-posts .post-item-thumbnail { margin-bottom: 10px; }
.alx-posts .post-item-title { font-size: 16px; line-height: 1.5em; }

.s1 .alx-posts .post-item-title { font-size: 18px; line-height: 1.4em; font-weight: 300; }
.s1 .alx-posts .post-item-category,
.s1 .alx-posts .post-item-date { font-size: 13px; }


/* ------------------------------------------------------------------------- *
 *  Comments
/* ------------------------------------------------------------------------- */
#comments { margin-top: 20px; }
#pinglist-container { display: none; }

.comment-tabs { margin-bottom: 30px; }
.comment-tabs li { float: left; }
.comment-tabs li a { background: #eeefdc; border-radius: 14px; font-weight: 600; padding: 10px 14px; margin-bottom: 4px; display: block; color: #7d7f52; }
.comment-tabs li:first-child a { margin-right: 4px; }
.comment-tabs li a:hover { color: #3f471b; }
.comment-tabs li span { background-color: #faffe8; padding: 0 6px; margin-left: 8px; -webkit-border-radius: 4px; border-radius: 4px; }
.comment-tabs li i { margin-right: 6px; }
.comment-tabs li.active a { color: #3f471b; border-bottom-color: #3f471b; }

.commentlist, .pinglist { margin-bottom: 20px; }
.commentlist li, .pinglist li { padding-left: 60px; font-size: 14px; line-height: 22px; font-weight: 400; }
.commentlist .comment-body, .pinglist li { clear: both; position: relative; padding-bottom: 15px; }
.commentlist .comment-author,
.commentlist .comment-meta,
.commentlist .comment-awaiting-moderation { font-size: 13px; display: block; float: left; line-height: 20px; }
.commentlist .comment-author { margin-right: 6px; }
.commentlist .fn, .pinglist .ping-link { color: #3f471b; font-size: 13px; font-style: normal; font-weight: 600; }
.commentlist .says { display: none; }
.commentlist .avatar { position: absolute; left: -60px; top: 0; width: 48px; height: 48px; border-radius: 100%; }
.commentlist .comment-meta:before, .pinglist .ping-meta:before { color: #878a73; content: "\f017"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; margin-right: 3px; vertical-align: 4%; } 
.commentlist .comment-meta a, .pinglist .ping-meta { color: #878a73; }
.commentlist .reply { font-size: 13px; line-height: 16px; }
.commentlist .reply a { color: #878a73; }
.commentlist .reply a:hover { color: #3f471b; }
.comment-awaiting-moderation { color: #3f471b; font-style: normal; }

/* pings */
.pinglist li { padding-left: 0; }

/* comment text */
.commentlist .comment-body p { margin-bottom: 8px; color: #6e7428; clear: both; }
.commentlist .comment-body strong { font-weight: bold; }
.commentlist .comment-body em { font-style: italic; }
.commentlist .comment-body ol li { list-style: decimal; margin-left: 2em; padding: 0; }
.commentlist .comment-body ul li { list-style: square; margin-left: 2em; padding: 0; }

/* post author & admin comment */
.commentlist li.bypostauthor > .comment-body:after,
.commentlist li.comment-author-admin > .comment-body:after { background: #3f471b; display: block; position: absolute; content: "\f303"; color: #fff; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 6 Free"; font-weight: 900; text-align: center; }
.commentlist li.comment-author-admin > .comment-body:after { content: "\f005"; /* star for admin */ }
.commentlist li.bypostauthor > .comment-body:after,
.commentlist li.comment-author-admin > .comment-body:after { top: 32px; left: -28px; font-size: 8px; padding: 2px; border-radius: 100%; }
.commentlist li li.bypostauthor > .comment-body:after,
.commentlist li li.comment-author-admin > .comment-body:after { top: 22px; left: -26px; font-size: 8px; padding: 1px; border-radius: 100%; }

/* child comment */
.commentlist li ul {  }
.commentlist li li { padding-left: 48px; margin: 0; }
.commentlist li li .avatar { width: 36px; height: 36px; left: -48px; top: 0; }
.commentlist li li .comment-meta { left: 70px; }

/*  comments : nav
/* ------------------------------------ */
.comments-nav { margin-bottom: 20px; }
.comments-nav a { font-weight: 600; }
.comments-nav .nav-previous { float: left; }
.comments-nav .nav-next { float: right;  }

/*  comments : form
/* ------------------------------------ */
.logged-in-as,
.comment-notes, 
.form-allowed-tags { display: none; }
#respond { position: relative; }
#reply-title { margin-bottom: 20px; }
li #reply-title { font-size: 0; margin: 0!important; padding: 0; height: 0; border-top: 0; }
#cancel-comment-reply-link { color: #aeb3c7; display: block; position: absolute; bottom: 26px; right: 20px; font-size: 12px; }
#cancel-comment-reply-link:hover { color: #7d7f52; }
#commentform { background: #eff1de; padding: 10px 20px 20px; margin-bottom: 15px; border-radius: 14px; border: 1px solid #ecede4; }
#commentform p.comment-form-author { width: 48%; float: left; }
#commentform p.comment-form-email { width: 48%; float: right; }
#commentform p.comment-form-url,
#commentform p.comment-form-comment { clear: both; }
#commentform label { padding: 6px 0; font-weight: 600; display: block; }
#commentform input[type="text"], 
#commentform textarea { max-width: 100%; width: 100%; }
#commentform textarea { height: 100px; }
#commentform p.form-submit { margin-top: 10px; }
.logged-in #reply-title { margin-bottom: 20px; }
.logged-in #commentform p.comment-form-comment { margin-top: 10px; }
.logged-in #commentform p.comment-form-comment label { display: none; }
#commentform .comment-form-cookies-consent { padding: 10px 0; }
#commentform .comment-form-cookies-consent label { display: inline; }


/* ------------------------------------------------------------------------- *
 *  Plugins
/* ------------------------------------------------------------------------- */

/*  plugin : wp-pagenavi
/* ------------------------------------ */
.wp-pagenavi { text-align: right; font-weight: 600; line-height: 20px; float: none; margin-right: -2px; text-align: center; }
.wp-pagenavi a,
.wp-pagenavi span { color: #6f7060; font-size: 16px; padding: 7px 8px; display: inline-block; margin: 0 2px 10px; }
.wp-pagenavi span.pages { font-size: 17px; font-weight: 300; display: block; margin-bottom: 1em!important; border: none!important; }
.wp-pagenavi span.pages:before { content: "\f15c"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; }
.wp-pagenavi span.extend { border: none!important; border-bottom: 3px solid transparent; border-top: 1px solid transparent; }
.wp-pagenavi a:hover,
.wp-pagenavi a:active,
.wp-pagenavi span.current { color: #42471b; }

.wp-pagenavi a { color: #42471b; border: none; border-bottom: 3px solid #d3d7b5; border-top: 1px solid #d3d7b5; }
.wp-pagenavi a:hover,
.wp-pagenavi a:active,
.wp-pagenavi span.current { background: none; border: none; border-bottom: 3px solid #42471b; border-top: 1px solid #d3d7b5; }


/* ------------------------------------------------------------------------- *
 *  Slick Carousel
/* ------------------------------------------------------------------------- */
.slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent;  }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0;  }
.slick-list:focus { outline: none;  }
.slick-list.dragging { cursor: pointer; cursor: hand;  }
.slick-slider .slick-track,.slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);  }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto;  }
.slick-track:before,.slick-track:after { display: table; content: '';  }
.slick-track:after { clear: both;  }
.slick-loading .slick-track { visibility: hidden;  }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px;  }
[dir='rtl'] .slick-slide { float: right;  }
.slick-slide img { display: block;  }
.slick-slide.slick-loading img { display: none;  }
.slick-slide.dragging img { pointer-events: none;  }
.slick-initialized .slick-slide { display: block;  }
.slick-loading .slick-slide { visibility: hidden;  }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent;  }
.slick-arrow.slick-hidden { display: none;  }


/* ------------------------------------------------------------------------- *
 *  Slick Carousel Theme
/* ------------------------------------------------------------------------- */
.slick-loading .slick-list { background: #fff url(img/ajax-loader.gif) center center no-repeat;  }
.slick-prev,.slick-next { font-size: 0; line-height: 0; position: absolute; top: 50%; display: block; width: 20px; height: 20px; padding: 0; -webkit-transform: translate(0, -50%); -ms-transform: translate(0, -50%); transform: translate(0, -50%); cursor: pointer; color: transparent; border: none; outline: none; background: transparent;  }
.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus { color: transparent; outline: none; background: transparent;  }
.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before { opacity: 1;  }
.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before { opacity: .25;  }
.slick-prev:before,.slick-next:before { font-family: 'slick'; font-size: 20px; line-height: 1; opacity: .75; color: white; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;  }
.slick-prev { left: -25px;  }
[dir='rtl'] .slick-prev { right: -25px; left: auto;  }
.slick-prev:before { content: '←';  }
[dir='rtl'] .slick-prev:before { content: '→';  }
.slick-next { right: -25px;  }
[dir='rtl'] .slick-next { right: auto; left: -25px;  }
.slick-next:before { content: '→';  }
[dir='rtl'] .slick-next:before { content: '←';  }
.slick-dotted.slick-slider { margin-bottom: 30px;  }
.slick-dots { position: absolute; bottom: -25px; display: block; width: 100%; padding: 0; margin: 0; list-style: none; text-align: center;  }
.slick-dots li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer;  }
.slick-dots li button { font-size: 0; line-height: 0; display: block; width: 20px; height: 20px; padding: 5px; cursor: pointer; color: transparent; border: 0; outline: none; background: transparent;  }
.slick-dots li button:hover,.slick-dots li button:focus { outline: none;  }
.slick-dots li button:hover:before,.slick-dots li button:focus:before { opacity: 1;  }
.slick-dots li button:before { font-family: 'slick'; font-size: 6px; line-height: 20px; position: absolute; top: 0; left: 0; width: 20px; height: 20px; content: '•'; text-align: center; opacity: .25; color: black; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;  }
.slick-dots li.slick-active button:before { opacity: .75; color: black;  }


/* ------------------------------------------------------------------------- *
 *  Accessibility
/* ------------------------------------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text{ border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute!important; width: 1px; word-wrap: normal!important; }
.screen-reader-text:focus { background-color: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1); clip: auto!important; clip-path: none; color: #3f471b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: auto; right: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
/* Do not show the outline on the skip link target. */
#page[tabindex="-1"]:focus{ outline: 0; }



/* 仅进入淡入；离开淡出需可选 JS 加 .is-leaving 类 */
:root{
  --page-fade-in: .28s;   /* 进入淡入时长 */
}

/* 关键改动：挂在 body 上，且背景继承自 body */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: inherit;          /* 继承 body 的背景（色/图）*/
  pointer-events: none;
  z-index: 2147483647;
  opacity: 1;
  animation: page-fade-in var(--page-fade-in) ease both;
}

@keyframes page-fade-in { to { opacity: 0; } }

/* 可选：配合极简 JS，离开时淡出 */
html.is-leaving body::before{
  opacity: 1;
  transition: opacity .22s ease;
}

/* 关怀设置 */
@media (prefers-reduced-motion: reduce){
  body::before{ animation: none; opacity: 0; }
}


/* 让 Continue reading… 靠右 */
.entry .entry-content a.more-link,
.post-wrapper .entry-content a.more-link {
  display: inline-block;
  float: right;
  margin-bottom: 40PX;     /* 可按需调 */
  margin-left: 16px;   /* 与左侧内容拉开一点 */
}

/* 清除浮动，避免后续元素被影响（可选） */
.entry .entry-content::after {
  content: "";
  display: block;
  clear: both;
}

/* 只改标题里的这个 FA 图标 */
html body.archive.category .page-title-inner h1 .fa-folder:before{
  content: "\f038" !important;      /* building */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;       /* solid 才会显示填充版 */
}


/* 改分页统计前的小图标为 \f550 */
.wp-pagenavi span.pages:before{
  content: "\f550" !important;
  font-family: "Font Awesome 6 Free" !important;  /* 用的是 Free */
  font-weight: 900 !important;                    /* 当前规则就是 900（solid） */
  margin-right: 6px;                               /* 原样保留 */
}


/* 仅亮色模式修改 header 的下边框颜色或去掉 */
body:not(.dark) #header{
  /* 选一条：换色 */
  border-bottom-color: #fefff8 !important;  /* 换成你要的颜色 */

  /* 或者直接去掉线条 */
  /* border-bottom: none !important; */
box-shadow: none !important;  // 如果主题用阴影模拟分隔线，顺便关掉 */
}


/* ipad菜单优化 */
@media (max-width: 1024px) {
  .main-navigation ul li a {
    padding: 0 10px;
    font-size: 14px;
  }
}

/* iOS / iPad 专属匹配 */
@media only screen 
  /* 覆盖 iPad mini 6 到 iPad Pro 12.9" 的逻辑宽度 */
  and (min-device-width: 744px) 
  and (max-device-width: 1023px) 
  /* Retina 像素比，排除大多数 Windows 设备 */
  and (-webkit-min-device-pixel-ratio: 2)
  /* 无鼠标悬停能力，确保是触控设备 */
  and (hover: none) {

  .nav-menu:not(.mobile) .menu > li {
    margin: 6px 4px 0 0;
    position: relative;
  }
}



/* 移动端把 logo 居中，并让它自适应 */
@media (max-width: 860px){
  #header .site-title{
    width: auto !important;           /* 取消 1240px 固定宽 */
    margin: 0 auto;                   /* 居中 */
    float: none;                      /* 主题若用 float，先取消 */
    text-align: center;
   padding: 0;
  }
  #header .site-title img,
  #header .site-title a{              /* 有些主题用 a 作 logo 容器 */
    display: inline-block;
    max-width: 100%;
    height: auto;
  }
}

/* 让头部区域不额外撑高 */
#header { margin: 0; }
#header .pad { padding-top: 0; padding-bottom: 0; } /* 如果左右要留白，可用 padding: 0 16px; */

/* LOGO：去掉 h1 默认外边距与行高，消除 img 的基线缝隙 */
#header .site-title { margin: 0; line-height: 0; }
#header .site-title > a { display: inline-block; line-height: 0; }
#header .site-title img { display: block; height: auto; }

/* 可选：副标题如果不需要占高，直接隐藏或把外边距清零 */
#header .site-description { margin: 0; /* 或者 */ display: none; }

/* 可选：该主题的 clearfix 会阻断 margin 折叠，导致 h1 的 margin 不会“吞掉”。
   在 header 里可禁用它（不影响全站其他地方）。*/
#header .group::before,
#header .group::after { content: none; display: none; }



/* 让分类/归档页用和首页一样的原生 sticky */
body.category .sidebar.s1,
body.archive  .sidebar.s1 {
  /* 抹掉分类页脚本写进去的间距与高度限制 */
  --cat-initial-gap: 0px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  position: static !important; /* 把定位交给内部 .sidebar-content */
}

body.category .sidebar.s1 .sidebar-content,
body.archive  .sidebar.s1 .sidebar-content {
  position: sticky;
  top: 88px; /* 按你的固定头部真实高度改：72/80/96 等 */
  align-self: start;
}

/* 有些主题会包一层 sticky-wrapper/theiaStickySidebar，顺手归零它们的高度 */
body.category .sidebar.s1 .sticky-wrapper,
body.archive  .sidebar.s1 .sticky-wrapper,
body.category .sidebar.s1 .theiaStickySidebar,
body.archive  .sidebar.s1 .theiaStickySidebar {
  height: auto !important;
  min-height: 0 !important;
}

/* 移动端通常不吸顶，避免遮挡 */
@media (max-width: 1024px) {
  body.category .sidebar.s1 .sidebar-content,
  body.archive  .sidebar.s1 .sidebar-content {
    position: static;
  }
}





/* 提示返回首页 */

/* 全站 LOGO 气泡提示 + 尖角 */
html body #header .site-title > a {
  position: relative !important;
  display: inline-block !important;
  line-height: 0 !important;
  z-index: 2147483647 !important;
}

/* 气泡主体 */
html body #header .site-title > a::after {
  content: "返回首页" !important;
  position: absolute !important;
  top: calc(100% + -26px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: rgba(0,0,0,0.88) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 400px !important;
  padding: 22px 14px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .25s ease, transform .25s ease !important;
  z-index: 2 !important;
}

/* 尖角 */
html body #header .site-title > a::before {
  content: "" !important;
  position: absolute !important;
  top: calc(100% + -26px - 7px) !important; /* 嵌入气泡8px消除线条 */
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-bottom: 8px solid rgba(0,0,0,0.88) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .25s ease, transform .25s ease !important;
  z-index: 1 !important;
}

/* 悬停显示 */
html body #header .site-title > a:hover::after,
html body #header .site-title > a:hover::before {
  opacity: 1 !important;
  transform: translate(-50%, -3px) !important;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
  html body #header .site-title > a::after {
    background-color: rgba(255,255,255,0.92) !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(255,255,255,0.15) !important;
  }
  html body #header .site-title > a::before {
    border-bottom-color: rgba(255,255,255,0.92) !important;
  }
}

/* 防止父级裁切气泡 */
html body #header,
html body #header .site-title {
  overflow: visible !important;
}


/* 暗色模式同步颜色 */
@media (prefers-color-scheme: dark) {
  #header h1.site-title > a::after {
    background-color: rgba(255,255,255,0.92);
    color: #000;
    box-shadow: 0 4px 12px rgba(255,255,255,0.15);
  }
  #header h1.site-title > a::before {
    border-bottom-color: rgba(255,255,255,0.92);
  }
}

/* 防止被父元素裁切 */
#header, #header h1.site-title {
  overflow: visible !important;
}


/* Edge 专用 Hack：保持你原有的 */
@supports (-ms-ime-align: auto) {
  #header, #header h1.site-title {
    overflow: visible !important;
  }
  #header h1.site-title > a::after {
    will-change: opacity, transform;
    isolation: isolate;
  }
}

/* 打赏 */
:root {
  --qr-bg: #ffffff;
  --qr-border: #d0d0d0;
  --qr-shadow: rgba(0,0,0,0.18);
  --qr-radius: 8px;
  --qr-border-w: 2px;
  --arrow-size: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --qr-bg: #1f1f1f;
    --qr-border: #4d4d4d;
    --qr-shadow: rgba(0,0,0,0.6);
  }
}

.donate-line { margin: 1.5em 0 0; }
.donate-trigger {
  position: relative;
  display: inline-block;
  color: #d23;
  font-weight: 600;
  cursor: pointer;
}

.qr-popover {
  position: fixed;
  left: -9999px; top: -9999px;
  width: 300px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  background: var(--qr-bg);
  border: var(--qr-border-w) solid var(--qr-border);
  border-radius: var(--qr-radius);
  box-shadow: 0 10px 28px var(--qr-shadow);
  z-index: 2147483647;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.qr-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.qr-popover__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: calc(var(--qr-radius) - 2px);
}

/* 箭头：边框层（before）+ 填充层（after） */
.qr-popover::before {
  content: '';
  position: absolute;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: calc(var(--arrow-size) + var(--qr-border-w)) solid transparent;
  border-right: calc(var(--arrow-size) + var(--qr-border-w)) solid transparent;
  border-top: calc(var(--arrow-size) + var(--qr-border-w)) solid var(--qr-border);
  top: 100%;
}
.qr-popover.arrow-up::before {
  top: auto;
  bottom: 100%;
  border-top: 0;
  border-bottom: calc(var(--arrow-size) + var(--qr-border-w)) solid var(--qr-border);
}

.qr-popover::after {
  content: '';
  position: absolute;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: var(--arrow-size) solid transparent;
  border-right: var(--arrow-size) solid transparent;
  border-top: var(--arrow-size) solid var(--qr-bg);
  top: calc(100% - var(--qr-border-w));
}
.qr-popover.arrow-up::after {
  top: auto;
  bottom: calc(100% - var(--qr-border-w));
  border-top: 0;
  border-bottom: var(--arrow-size) solid var(--qr-bg);
}

@media (max-width: 360px) {
  .qr-popover { width: 86vw; }
}
/* 打赏完毕 */










