/*   
 * Original Template Name: Developer
 * Original Author: Xiaoying Riley
 * Twitter: @3rdwave_themes
 * Website: http://themes.3rdwavemedia.com/
 * Modified by: HTMLy Team
*/
/* ======= Base ======= */
body {
  font-family: 'Lato', arial, sans-serif;
  color: #434343;
  background: #dae3e7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #5f6b77;
}
.h1, h1 {
  font-size: 24px;
}
.h2, h2 {
  font-size: 20px;
}
.h3, h3 {
  font-size: 18px;
}
.h4, h4 {
  font-size: 16px;
}
.h5, h5 {
  font-size: 14px;
}
.h6, h6 {
  font-size: 12px;
}
p {
  margin:1em 0;
}
.aside p, .related p {
  margin: 0 0 10px 0;
}
blockquote {
  margin:1em 0;
  font-size:20px;
  font-family: "Source Sans",sans-serif;
}
blockquote  p{
  margin: 0;
}
img {
  display: block;
  height: auto;
  max-width: 100%;
}
img:hover {
  opacity:0.8;
}
a {
  color: #337ab7;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}
a:hover {
  text-decoration: underline;
}
a:focus {
  text-decoration: none;
}
.btn,
a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 5px 10px;
  font-size:12px;
}
.btn .fa,
a.btn .fa {
  margin-right: 5px;
}
.btn:focus,
a.btn:focus {
  color: #fff;
}
a.btn-cta-primary,
.btn-cta-primary {
  background: #54ba4e;
  border: 1px solid #54ba4e;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}
a.btn-cta-primary:hover,
.btn-cta-primary:hover {
  background: #49ac43;
  border: 1px solid #49ac43;
  color: #fff;
}
a.btn-cta-secondary,
.btn-cta-secondary {
  background: #479fc8;
  border: 1px solid #479fc8;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}
a.btn-cta-secondary:hover,
.btn-cta-secondary:hover {
  background: #3893bd;
  border: 1px solid #3893bd;
  color: #fff;
}
.text-highlight {
  color: #32383e;
}
.label-theme {
  background: #3893bd;
  font-size: 12px;
}
a.dotted-link {
  border-bottom: 1px dotted #778492;
  color: #778492;
}
a.dotted-link:hover {
  text-decoration: none;
  color: #49515a;
}
pre {
  margin:1em 0;
}

.tags {
  margin-right:5px;
}

.tags a  {
  background-color: #f9f2f4;
  border-radius: 4px;
  color: #c7254e;
  padding: 2px 4px;
}

/*-------------------------
        Table
--------------------------*/
table {
  border: none;
  width: 100%;
  color: #333333;
  border: 1px solid #ddd;
  margin: 1em 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
th, td {
  padding: 5px 10px;
  border: none;
}
th {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
}
td {
  border: 1px solid #ddd;
  border-top: none;
  border-left: none;
}
/*
iframe {

    .header {
        padding: 0;
    }
}

.iframe-wrapper {
    overflow: auto;
    -webkit-overflow-scrolling:touch;
}
*/
/* ======= Site Header ======= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f8f8f6;        /* 米白极简背景 */
  border-bottom: 1px solid #e8e8e6;
  transition: background .3s, border-color .3s;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0;                     /* 各区间距由自身 margin 控制 */
}

/* ── Brand 左 ── */
.site-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  flex-shrink: 0;
  margin-right: 32px;
}
.site-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}
.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -.2px;
  white-space: nowrap;
  transition: color .3s;
}

/* ── Nav 中（居中弹性扩展） ── */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.site-nav ul.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav ul.site-menu > li { position: relative; }
.site-nav ul.site-menu > li > a {
  display: block;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #6b7280;             /* 浅蓝灰，与参考图一致 */
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
/* 悬停 / 当前页：文字变深，底部细线 */
.site-nav ul.site-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .2s;
}
.site-nav ul.site-menu > li > a:hover { color: #1a1a1a; }
.site-nav ul.site-menu > li > a:hover::after { transform: scaleX(1); }
.site-nav ul.site-menu > li.active > a { color: #1a1a1a; font-weight: 600; }
.site-nav ul.site-menu > li.active > a::after { transform: scaleX(1); }

/* 下拉子菜单 */
.site-nav ul.site-menu > li > ul {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  min-width: 130px;
  padding: 5px;
  list-style: none;
  z-index: 500;
}
.site-nav ul.site-menu > li:hover > ul { display: block; }
.site-nav ul.site-menu > li > ul li a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: #555;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .15s, color .15s;
}
.site-nav ul.site-menu > li > ul li a:hover { background: #f5f5f5; color: #111; }

/* ── 右侧工具区 ── */
.site-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 16px;
}

/* 通用工具按钮（图标型） */
.tool-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7280;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.tool-btn:hover { background: #ededeb; color: #1a1a1a; }

/* ── 搜索 ── */
.header-tool { position: relative; }

.search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  padding: 8px;
  width: 280px;
  z-index: 600;
}
.search-panel.open { display: block; }
.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-form input[type="search"] {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  color: #333;
  outline: none;
  background: #fafafa;
  transition: border-color .2s, background .2s;
}
.search-form input[type="search"]:focus { border-color: #aaa; background: #fff; }
.search-form button[type="submit"] {
  width: 34px; height: 34px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.search-form button[type="submit"]:hover { background: #333; }

/* ── 语言切换（胶囊样式 ZH ▾） ── */
.header-tool { position: relative; }

.lang-capsule {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1px solid #d1d5db;
  border-radius: 20px;          /* 胶囊 */
  background: #fff;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: .3px;
  transition: border-color .2s, background .2s, color .2s;
  flex-shrink: 0;
}
.lang-capsule:hover { border-color: #9ca3af; background: #f5f5f3; color: #1a1a1a; }
.lang-label { font-size: 12.5px; font-weight: 600; }
.lang-arrow { font-size: 8px !important; opacity: .7; transition: transform .2s; }
.header-lang.open .lang-arrow { transform: rotate(180deg); }

.lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  padding: 5px;
  min-width: 130px;
  z-index: 600;
}
.lang-panel.open { display: block; }
.lang-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: #f4f4f4; color: #111; }
.lang-option.active { color: #111; font-weight: 600; }

/* ── 明暗切换（深色胶囊，参考"登录"按钮风格） ── */
.theme-toggle {
  width: auto !important;
  padding: 5px 14px !important;
  gap: 6px;
  background: #1a1a1a !important;
  color: #fff !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 500;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s !important;
  flex-shrink: 0;
}
.theme-toggle:hover { background: #333 !important; color: #fff !important; }
.theme-toggle i { font-size: 13px; }

/* ── 汉堡（移动端） ── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 9px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: #555;
  border-radius: 2px;
  transition: all .25s;
}
.mobile-menu-toggle:hover { background: #ededeb; }
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 移动端菜单抽屉 ── */
.mobile-nav {
  display: none;
  border-top: 1px solid #ebebea;
  background: #f8f8f6;
  padding: 8px 16px 16px;
  transition: background .3s;
}
.mobile-nav.open { display: block; }

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-list li a {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  text-decoration: none !important;
  border-bottom: 1px solid #ebebea;
  transition: color .2s;
}
.mobile-menu-list li:last-child a { border-bottom: none; }
.mobile-menu-list li a:hover { color: #1a1a1a; }
.mobile-menu-list li a i { width: 16px; text-align: center; color: #9ca3af; font-size: 13px; }

/* 移动端底部工具（保留类名但隐藏，防止 JS 报错） */
.mobile-nav-bottom { display: none; }
.mobile-lang-btn, .mobile-theme-btn { display: none; }

/* ── 暗黑模式 ── */
body.dark-theme {
  background: #141414;
  color: #d0d0d0;
}
body.dark-theme .site-header {
  background: #1a1a1c;
  border-bottom-color: #2a2a2e;
}
body.dark-theme .site-title { color: #f0f0f0; }
body.dark-theme .site-nav ul.site-menu > li > a { color: #9ca3af; }
body.dark-theme .site-nav ul.site-menu > li > a::after { background: #e5e7eb; }
body.dark-theme .site-nav ul.site-menu > li > a:hover { color: #f0f0f0; }
body.dark-theme .site-nav ul.site-menu > li.active > a { color: #f0f0f0; }
body.dark-theme .site-nav ul.site-menu > li > ul {
  background: #1c1c1e; border-color: #2a2a2e;
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
body.dark-theme .site-nav ul.site-menu > li > ul li a { color: #aaa; }
body.dark-theme .site-nav ul.site-menu > li > ul li a:hover { background: #2a2a2e; color: #fff; }
body.dark-theme .tool-btn { color: #9ca3af; }
body.dark-theme .tool-btn:hover { background: #2a2a2e; color: #e5e7eb; }
body.dark-theme .lang-capsule {
  background: #252528; border-color: #3a3a3e; color: #9ca3af;
}
body.dark-theme .lang-capsule:hover { background: #2a2a2e; border-color: #555; color: #e5e7eb; }
body.dark-theme .search-panel, body.dark-theme .lang-panel {
  background: #1c1c1e; border-color: #2a2a2e;
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
body.dark-theme .search-form input[type="search"] {
  background: #252528; border-color: #3a3a3e; color: #ddd;
}
body.dark-theme .search-form input[type="search"]:focus { border-color: #666; background: #2a2a2d; }
body.dark-theme .lang-option { color: #aaa; }
body.dark-theme .lang-option:hover { background: #2a2a2e; color: #fff; }
body.dark-theme .theme-toggle { background: #e5e7eb !important; color: #1a1a1a !important; }
body.dark-theme .theme-toggle:hover { background: #fff !important; color: #000 !important; }
body.dark-theme .mobile-nav { background: #1a1a1c; border-top-color: #2a2a2e; }
body.dark-theme .mobile-menu-list li a { color: #bbb; border-bottom-color: #2a2a2e; }
body.dark-theme .mobile-menu-list li a:hover { color: #fff; }
body.dark-theme .mobile-menu-toggle span { background: #9ca3af; }

/* 暗黑模式 — 主体内容 */
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3,
body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 { color: #e0e0e0; }
body.dark-theme a { color: #6ab0f5; }
body.dark-theme .section { background: #1c1c1e; }
body.dark-theme .section .section-inner { background: #1c1c1e; }
body.dark-theme .item { border-color: #2a2a2e; }

/* ── sections 间距 ── */
.sections-wrapper {
  padding-top: 40px;
  padding-bottom: 30px;
}

/* ======= Sections======= */
.sections-wrapper {
  padding-top: 60px;
  padding-bottom: 30px;
}
.section {
  margin-bottom: 30px;
}
.comment-wrapper.section {
  margin-bottom: 30px;
}
.section .section-inner {
  background: #fff;
  padding: 30px;
}
.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #5f6b77;
  font-size: 20px;
}
.section .content .more-link .fa {
  margin-right: 5px;
  font-size: 14px;
}
.breadcrumb {
  background-color: #fff;
  border-radius: 0px;
  list-style: outside none none;
  margin-bottom: 20px;
  padding: 10px 30px;
  font-family: "Source Sans",sans-serif;
}

/* About Section */
/* Latest Section */
.post .item {
  margin-bottom: 10px;
}
.post .item .title .label {
  margin-left: 5px;
  font-size: 12px;
}
.post .item .title a {
  color: #778492;
}
.post .item .title a:hover {
  color: #5f6b77;
}
.post .item .project-image:hover {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
.post .item .title {
  margin-bottom: 10px;
  font-size: 24px;
  margin-top: 0;
}
.post .item .meta{
  color: #778492;
  font-family: "Source Sans",sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin:0;
}
.post .item img {
  margin: 1em 0px;
}
.post .featured-image img {
  margin-top:0;
}
.post .item .info, .post .item .desc {
  margin-bottom: 1em;
}
.inpost .post .item .desc {
  margin:0;
}
.post .featured {
  margin-bottom: 1em;
}
.post .featured-image {
  position: relative;
}
.item .quote .fa-quote-left {
  color: #337ab7;
  margin-right: 15px;
}
.item .quote .fa-quote-right {
  color: #337ab7;
  margin-left: 15px;
}
.featured-quote blockquote {
  font-size: 26px;
  margin:0;
  border:none;
}
.featured-link {
  font-size:26px;
  font-family: "Source Sans",sans-serif;
}
.featured-link .fa {
  margin-right:5px;
}
.tab {
  margin-bottom: 20px;
}
.pager {
  margin-top:0px;
  margin-bottom: 30px;
}
.in-profile .pager {
  margin-bottom:0px;
}

/* share section */
.share{
  padding-top:0;
}
.in-post .share {
  padding-top:0;
}
.share a{
  color: #479fc8;
  padding:4px;
  vertical-align: middle;
  display:inline-block;
  line-height: 1.42857;
  margin-bottom: 0
}

/* recent-posts Section */
.recent-posts .item {
  margin-bottom: 20px;
}
.recent-posts .item .title {
  font-size: 16px;
  line-height: 1.3;
}
.recent-posts .item .title a {
  color: #778492;
}
.recent-posts .item .title a:hover {
  color: #5f6b77;
}
.recent-posts .item:last-child {
  margin-bottom: 0;
}

/* archive Section */
ul.archivegroup {
  margin: 0;
  padding: 0;
}
.archivegroup .expanded ul {
  display: block;
}
.archivegroup .collapsed ul {
  display: none;
}
.archivegroup li.expanded, .archivegroup li.collapsed {
  list-style: outside none none;
}
ul.month {
  list-style:none;
  padding:0;
  margin: 0.25em 0 0.25em 1.3em;
}

/* Category list section */

.category-list ul {
  padding-left:20px;
}

/* Tag section */
.tag-cloud a {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  line-height: 37px;
  padding: 5px 10px;
  margin-right:5px;
  color:#778492;
}
.tag-cloud a:hover {
  color: #49515a;
}

/* Related section */
.related .item {
  margin-bottom: 0px;
}
.related .item .title {
  font-size: 16px;
  margin-top: 0;
}
.related .item .title .label {
  font-size: 12px;
  margin-left: 5px;
}
.related .item .title a {
  color: #778492;
}
.related .item .title a:hover {
    color: #5f6b77;
}
.related .item .project-image:hover {
  opacity: 0.8;
}
.related .divider {
  margin-bottom: 60px;
}

/* List section */
.list ul li {
  margin-bottom: 10px;
}
.list ul li .fa {
  margin-right: 5px;
}
.list ul li a {
  color: #778492;
}
.list ul li a:hover {
  color: #49515a;
}

/* ======= Footer ======= */
/* ======= Footer ======= */
.footer {
  background: #1e2329;
  color: #a1aab4;
  font-size: 14px;
  margin-top: 40px;
}

/* 通用内容宽度容器（替代 Bootstrap .container + .row） */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 主体区：Flexbox 四列 ── */
.footer-main {
  padding: 48px 0 36px;
  border-bottom: 1px solid #2d3540;
}
.footer-main .footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 列基础 */
.footer-col { flex-shrink: 0; }

/* 品牌列：弹性占满剩余空间 */
.footer-col-brand { flex: 1 1 220px; min-width: 180px; }

/* 导航 / 资源列：固定较小宽度 */
.footer-col-nav,
.footer-col-res  { flex: 0 0 120px; }

/* 关于列：较宽 */
.footer-col-about { flex: 1 1 200px; min-width: 160px; }

/* 品牌区 */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.footer-desc {
  color: #8892a0;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* 社交图标 */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social-link {
  width: 32px;
  height: 32px;
  background: #2d3540;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8892a0 !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.footer-social-link:hover {
  background: #3d4a5a;
  color: #fff !important;
  text-decoration: none !important;
}

/* 导航标题 */
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
}

/* 导航链接列表 */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 9px; }
.footer-links li a {
  color: #8892a0;
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-links li a:hover { color: #fff; text-decoration: none; }

/* 关于文字 */
.footer-about {
  color: #8892a0;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 14px;
}

/* 标签组 */
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-tag {
  display: inline-block;
  background: #2d3540;
  color: #8892a0;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── 底部版权栏 ── */
.footer-bottom {
  padding: 14px 0;
}
.footer-bottom .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copyright {
  color: #5a6472;
  font-size: 12px;
}
.footer-copyright span { color: #5a6472; }
.footer-beian a {
  color: #5a6472 !important;
  font-size: 12px;
  text-decoration: none !important;
  transition: color .2s;
}
.footer-beian a:hover { color: #8892a0 !important; }
.footer-beian a i { margin-right: 4px; }
.footer-meta {
  display: flex;
  gap: 12px;
}
.footer-meta a {
  color: #5a6472 !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: color .2s;
}
.footer-meta a:hover { color: #8892a0 !important; }

/* ── footer a 通用覆盖 ── */
.footer a { color: #8892a0; }
.footer .fa-heart { color: #fb866a; }

/* ── 平板（768px – 991px）：品牌独占一行，其余三列一行 ── */
@media (max-width: 991px) {
  .footer-main .footer-inner { flex-wrap: wrap; gap: 28px 32px; }
  .footer-col-brand { flex: 0 0 100%; }
  .footer-col-nav,
  .footer-col-res  { flex: 1 1 110px; }
  .footer-col-about { flex: 1 1 200px; }
}

/* ── 移动端（< 768px）：全部单列堆叠 ── */
@media (max-width: 767px) {
  .footer-inner { padding: 0 16px; }
  .footer-main { padding: 32px 0 20px; }
  .footer-main .footer-inner { flex-direction: column; gap: 24px; }
  .footer-col-brand,
  .footer-col-nav,
  .footer-col-res,
  .footer-col-about { flex: 0 0 100%; }
  .footer-bottom .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ── 手机端 (< 768px) ── */
@media (max-width: 767px) {
  /* Header 紧凑 */
  .site-header-inner {
    padding: 0 14px;
    height: 54px;
    gap: 0;
  }
  .site-brand { margin-right: auto; }
  .site-logo  { width: 28px; height: 28px; }
  .site-title { font-size: 14.5px; }

  /* 桌面导航隐藏，改用抽屉 */
  .site-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  /* 工具栏间距收紧 */
  .site-header-right { gap: 4px; margin-left: 8px; }

  /* 语言胶囊在手机端略小 */
  .lang-capsule { padding: 4px 9px; font-size: 12px; }

  /* 主题切换胶囊在手机端只显示图标（省文字） */
  .theme-toggle { padding: 5px 10px !important; }

  /* 搜索面板：fixed 贴屏，防超出 */
  .search-panel {
    position: fixed;
    top: 54px;
    left: 12px;
    right: 12px;
    width: auto;
    border-radius: 10px;
    z-index: 1100;
  }

  /* 语言面板防右侧溢出 */
  .lang-panel { right: 0; left: auto; min-width: 120px; }

  /* 内容区间距 */
  .sections-wrapper { padding-top: 20px; padding-bottom: 0; }
  .project-image    { margin-bottom: 15px; }
  .section .section-inner { padding: 20px 16px; }
}

/* ── 平板及以上：隐藏汉堡，显示桌面导航 ── */
@media (min-width: 768px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-nav         { display: none !important; }
}
/* Small devices (tablets, 768px and up) */
/* Medium devices (desktops, 992px and up) */
/* Large devices (large desktops, 1200px and up) */
/* Ex-Large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) {
  .container {
    width: 1360px;
  }
}

.pagination {
  margin-top:0;
  margin-bottom:15px;
}

.feed-link {
  display:inline;
  margin:0 0 0 10px;
  float:right;	
}

#more {
  display:block;
  height:1rem;
  margin-top:-1rem;
  box-shadow: none;
  border: none;
}

.social-logo a:before {
  padding-top:6px;
}
