/* blog-post.css - post page styles only */

/* spacing after banner + icon font reinforcement */

.blog-main{margin-top:48px;}

.fa,#footer .fa,i.fa{font-family:'FontAwesome' !important;font-style:normal;}



:root {

  --primary: #0088cc;

  --primary-hover: #0099e6;

  --primary-active: #0077b3;

  --dark: #2e353e;

  --text: #777777;

  --heading: #1d2127;

  --border: #e7e7e7;

  --footer-bg: #0e0e0e;

  --footer-copy-bg: #060606;

}

.page-header {

  background: #f7f7f7; border-bottom: 5px solid #e7e7e7; padding: 20px 0; position: relative;

}

.page-header .container {

  display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;

}

.page-header h1 {

  font-size: 28px; color: var(--heading); border-bottom: 5px solid var(--primary); padding-bottom: 8px; margin-bottom: -5px; font-weight: 400;

}

.page-header .breadcrumb {

  font-size: 12px; color: #999999; padding-bottom: 8px;

}

.page-header .breadcrumb a {

  color: #999999;

}

.page-header .breadcrumb a:hover {

  color: var(--primary);

}

.post-entry {

  padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border);

}

.entry-meta {

  font-size: 12px; color: #999999; display: flex; align-items: center; gap: 8px;

}

.entry-date {

  color: var(--primary); font-weight: 700;

}

.tag {

  background: var(--primary); color: #ffffff; padding: 1px 8px; border-radius: 3px; font-size: 12px;

}

.entry-title {

  margin: 10px 0 8px;

}

.entry-title a {

  font-size: 22px; color: var(--heading); font-weight: 400; line-height: 1.4;

}

.entry-title a:hover {

  color: var(--primary);

}

.entry-summary {

  font-size: 14px; color: #777777;

}

.entry-more {

  display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600;

}

.entry-more:hover {

  text-decoration: underline;

}

.pagination-wrap {

  display: flex; justify-content: center; margin: 35px 0 10px;

}

.pagination {

  list-style: none; display: flex; gap: 6px;

}

.pagination li a {

  display: inline-block; min-width: 34px; padding: 7px 11px; text-align: center; border: 1px solid #ddd; border-radius: 4px; color: #777777; font-size: 13px; line-height: 1.2;

}

.pagination li a:hover {

  border-color: var(--primary); color: var(--primary);

}

.pagination li.active a {

  background: var(--primary); border-color: var(--primary); color: #fff;

}

.post-meta {

  font-size: 13px; color: #999999; display: flex; align-items: center; gap: 8px;

}

.post-title {

  font-size: 26px; color: var(--heading); font-weight: 400; margin: 10px 0 22px; line-height: 1.45;

}

.post-body {

  max-width: 860px; font-size: 15px; line-height: 1.9; color: #4d4d4d;

}

.post-body h2 {

  font-size: 23px; color: var(--heading); margin: 30px 0 14px; font-weight: 600;

}

.post-body h3 {

  font-size: 19px; color: var(--heading); margin: 24px 0 12px; font-weight: 600;

}

.post-body p {

  margin: 14px 0;

}

.post-body ul, .post-body ol {

  margin: 14px 0 14px 26px;

}

.post-body li {

  margin: 7px 0;

}

.post-body blockquote {

  margin: 18px 0; padding: 12px 20px; background: #f4f9fd; border-left: 5px solid var(--primary); color: #5e5e5e;

}

.post-body code {

  background: #f4f4f4; color: #c7254e; padding: 2px 6px; border-radius: 3px; font-size: 13px;

}

.post-body pre {

  background: #1d2127; color: #e7e7e7; padding: 16px 20px; border-radius: 4px; overflow-x: auto; margin: 16px 0;

}

.post-body pre code {

  background: none; color: inherit; padding: 0;

}

.post-body table {

  border-collapse: collapse; width: 100%; margin: 16px 0;

}

.post-body th, .post-body td {

  border: 1px solid #e0e0e0; padding: 8px 12px;

}

.post-body th {

  background: #f7f7f7; color: var(--heading);

}

.post-nav {

  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px;

}

.post-prev-next {

  display: flex; gap: 24px; margin-bottom: 18px;

}

.pn-item {

  flex: 1; min-width: 0;

}

.pn-item.right {

  text-align: right;

}

.pn-label {

  display: block; color: #999999; font-size: 12px; margin-bottom: 4px;

}

.pn-item a {

  color: var(--heading); font-size: 14px; line-height: 1.5; display: inline-block;

}

.pn-item a:hover {

  color: var(--primary);

}

.related {

  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border);

}

.related h3 {

  font-size: 16px; color: var(--heading); margin-bottom: 10px; font-weight: 600;

}

.related ul {

  list-style: none;

}

.related li {

  margin: 6px 0; font-size: 14px;

}

.related a {

  color: var(--primary);

}

.related a:hover {

  text-decoration: underline;

}

.page-header h1 {

  font-size: 23px;

}

.entry-title a {

  font-size: 19px;

}



/* explicit icon glyph overrides */

.fa{display:inline-block;}

.fa-angle-right:before{content:"\f105";font-family:'FontAwesome' !important;}

.fa-envelope:before{content:"\f0e0";font-family:'FontAwesome' !important;}

.fa-phone:before{content:"\f095";font-family:'FontAwesome' !important;}

.fa-bars:before{content:"\f0c9";font-family:'FontAwesome' !important;}

.fa-map-marker:before{content:"\f041";font-family:'FontAwesome' !important;}

.fa-facebook:before{content:"\f09a";font-family:'FontAwesome' !important;}

.fa-twitter:before{content:"\f099";font-family:'FontAwesome' !important;}

.fa-linkedin:before{content:"\f0e1";font-family:'FontAwesome' !important;}



#header .header-nav-main nav > ul > li > a.dropdown-toggle:after {

  content: none !important;

  display: none !important;

}


/* 图片与正文同宽:封面图宽度 = 文本列宽度 */
.post-body { max-width: none; margin: 0; }
.post-body img { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 0 20px; }
