/* 鹿鸣视界 · 墨金主题 */
:root {
  --ink: #0b1c33;
  --ink-2: #122844;
  --gold: #c9a46a;
  --gold-2: #e4c98a;
  --page: #f3f1ec;
  --text: #1b2430;
  --muted: #6d7583;
  --line: #e7e1d6;
  --shadow: 0 10px 28px rgba(11, 28, 51, .06);
}

body {
  background: var(--page);
  color: var(--text);
  font-family: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a:hover {
  color: #9a7b3c;
}

.wrapper {
  margin: 0;
  max-width: none;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.site-header {
  background: linear-gradient(180deg, var(--ink) 0, var(--ink-2) 100%);
  color: #f6efe2;
  border-bottom: 3px solid var(--gold);
}

.site-topbar {
  background: #081527;
  border-bottom: 1px solid rgba(201, 164, 106, .18);
  font-size: 12px;
  letter-spacing: .06em;
}

.site-topbar-inner,
.header,
.container,
.footer-inner {
  max-width: 1760px;
  width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

.site-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  color: #c9b48a;
}

.site-topbar .top-contact em {
  font-style: normal;
  margin-left: 18px;
  color: #e8d7b0;
}

.header {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  background: transparent;
  border-bottom: 0;
  padding: 10px 24px;
  overflow: visible;
}

.logo {
  float: none;
  padding: 0;
  flex: 0 0 auto;
}

.logo a {
  width: 168px;
  height: 42px;
}

.searchform {
  float: none;
  width: 220px;
  padding: 0;
  flex: 0 0 220px;
}

.searchform form {
  display: flex;
  align-items: stretch;
  height: 34px;
  overflow: hidden;
  border-radius: 20px;
}

.searchform .input {
  flex: 1;
  margin-right: 0;
  height: 34px;
  border: 1px solid rgba(228, 201, 138, .32);
  border-right: 0;
  background: rgba(255, 255, 255, .08);
  border-radius: 20px 0 0 20px;
  box-sizing: border-box;
}

.searchform .text {
  display: block;
  width: 100%;
  height: 32px;
  line-height: 32px;
  padding: 0 14px;
  box-sizing: border-box;
  color: #f7efe0;
  font-size: 13px;
}

.searchform .text::placeholder {
  color: #b9a887;
  line-height: 32px;
}

.searchform .submit {
  position: static;
  flex: 0 0 38px;
  width: 38px;
  height: 34px;
  line-height: 34px;
  background: linear-gradient(135deg, var(--gold), #a98443);
  border-radius: 0 20px 20px 0;
  color: #1a1408;
}

.nav {
  float: none;
  flex: 1 1 auto;
  border-bottom: 0;
  background: transparent;
  padding: 0 8px;
  min-width: 0;
}

.nav > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  margin: 0;
  width: 100%;
  gap: 8px;
}

.nav > ul > li {
  float: none;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  line-height: 1;
  font-size: 15px;
  letter-spacing: .04em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #eadcc0;
  white-space: nowrap;
  background: rgba(228, 201, 138, .12);
  border: 1px solid rgba(201, 164, 106, .22);
  box-shadow: none;
  font-weight: 500;
  box-sizing: border-box;
}

.nav > ul > li > a:hover {
  color: var(--gold-2);
  background: rgba(228, 201, 138, .22);
  border-color: rgba(201, 164, 106, .45);
}

.nav > ul > li.on > a,
.nav > ul > li.cur > a,
.nav > ul > li.cur > a:hover {
  color: #1a1408;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(201, 164, 106, .28);
}

.nav > ul > li > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 21px);
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  box-sizing: border-box;
  z-index: 30;
}

.nav > ul > li > ul > li {
  border-bottom: 0;
  line-height: 1;
  width: 100%;
  float: none;
  display: block;
  margin: 0 0 6px;
}

.nav > ul > li > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  box-sizing: border-box;
  color: #eadcc0;
  border-radius: 999px;
  background: #0f223c;
  border: 1px solid rgba(201, 164, 106, .22);
}

.nav > ul > li > ul > li > a:hover,
.nav > ul > li > ul > li.on > a,
.nav > ul > li > ul > li.cur > a,
.nav > ul > li > ul > li.cur > a:hover {
  color: #1a1408;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.container {
  padding: 28px 24px 48px;
  background: #fff;
}

.slides {
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 22px;
}

.slides .item em {
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: auto;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 36, .78));
  color: #fff8ea;
  text-align: left;
}

.istop-list {
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 18px;
  margin-bottom: 22px;
}

.istop {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  margin: 0;
}

.istop-list .istop:last-child {
  border-bottom: 0;
}

.istop i {
  background: linear-gradient(135deg, #8d1d16, #c43a2c);
  border-radius: 2px;
  letter-spacing: .08em;
}

.istop a {
  color: var(--ink);
  font-weight: 600;
}

.istop a:hover {
  margin-left: 45px;
  color: #9a7b3c;
}

.blogitem {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0;
  margin-bottom: 0;
  box-shadow: none;
}

.blogitem h2 {
  font-size: 20px;
  font-weight: 650;
}

.blogitem h2 a:hover {
  margin-left: 0;
  color: #9a7b3c;
}

.blogitem .thumbnail a {
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.blogitem .excerpt {
  color: var(--muted);
}

.blogitem .meta {
  color: #8a8172;
  font-size: 13px;
}

.archive-title {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 8px;
}

.breadcrumb {
  color: #8a8172;
  border-bottom: 1px solid var(--line);
}

.breadcrumb a {
  color: #6d5c3d;
}

.post,
.details {
  background: #fff;
  border-radius: 0;
  padding: 4px 0 20px;
}

.post .title,
.details .title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .03em;
  line-height: 1.4;
}

.post .meta {
  color: #8a8172;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.entry {
  color: #2a3140;
  font-size: 17px;
  line-height: 1.9;
}

.sidebar .widget {
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px 12px;
  box-shadow: none;
  overflow: visible;
}

.sidebar .widget h3 {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: .16em;
  font-weight: 700;
}

.sidebar .widget h3:before {
  background: var(--gold);
  width: 2.2em;
  height: 3px;
}

.rank-list {
  counter-reset: rank;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
}

.rank-item::before {
  counter-increment: rank;
  content: counter(rank, decimal-leading-zero);
  flex: 0 0 28px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}

.rank-item .info {
  min-width: 0;
  overflow: hidden;
}

.rank-item h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.rank-item h4 a,
.sidebar .widget .rank-item a {
  display: block;
  padding-left: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.rank-item h4 a:before,
.sidebar .widget .rank-item a:before {
  display: none;
}

.rank-item p {
  color: #8a8172;
  font-size: 12px;
  margin: 4px 0 0;
}

.rank-item:last-child {
  margin-bottom: 0;
}

.sidebar .widget li a:before {
  display: none;
}

.footer {
  background: linear-gradient(180deg, var(--ink-2), #081221);
  color: #d7c9a8;
  border-top: 3px solid var(--gold);
  padding: 32px 24px 28px;
  clear: both;
  font-size: 13px;
  line-height: 1.8;
}

.footer-inner {
  display: block;
}

.footer a,
.footer a:hover {
  color: var(--gold-2);
  display: inline;
}

.copyright {
  float: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  text-align: left;
  width: max-content;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
}

.copyright p {
  margin: 0;
  width: 100%;
  text-align: left;
  line-height: 1.8;
  word-break: keep-all;
}

.copyright .site-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 16px;
  row-gap: 0;
  margin-bottom: 0;
}

.copyright .site-contact span,
.copyright a {
  white-space: nowrap;
  word-break: keep-all;
}

.copyright .site-contact span + span {
  margin-left: 0;
}

.pglist a {
  border-radius: 20px;
  border-color: var(--line);
  color: var(--ink);
}

.pglist a:hover,
.pglist .hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-2);
}

#postnavi {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.related {
  margin-top: 28px;
}

.related .boxtitle {
  color: var(--ink);
  letter-spacing: .16em;
}

@media (max-width: 1024px) {
  .header {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 16px;
  }
  .logo a {
    width: 140px;
    height: 36px;
  }
  .searchform {
    width: 168px;
    flex: 0 0 168px;
  }
  .nav > ul > li {
    font-size: 14px;
  }
  .nav > ul > li > a {
    padding: 0 8px;
    height: 32px;
  }
  .nav > ul > li > ul {
    top: calc(50% + 20px);
  }
  .nav > ul > li > ul > li > a {
    height: 32px;
  }
  .social,
  .schbtn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-topbar {
    display: none;
  }
  .header {
    display: block;
    padding: 8px 16px;
  }
  .navBtn {
    color: var(--gold-2);
  }
  .nav {
    background: #0c1d36;
  }
  .nav > ul {
    display: block;
    height: auto;
    margin-top: 72px;
  }
  .nav > ul > li {
    flex: none;
    line-height: 46px;
    text-align: left;
    justify-content: flex-start;
    padding: 6px 16px;
  }
  .nav > ul > li > a {
    width: auto;
    justify-content: flex-start;
  }
  .nav > ul > li > ul {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    margin: 0;
    padding: 0 0 0 12px;
  }
  .nav > ul > li > ul > li {
    margin: 6px 0 0;
  }
  .nav > ul > li > ul > li > a {
    width: auto;
    justify-content: flex-start;
  }
  .nav li a,
  .nav li li a {
    color: #eadcc0;
  }
  .nav > ul > li.cur > a,
  .nav > ul > li.on > a {
    color: #1a1408;
  }
  .footer-inner {
    display: block;
    text-align: left;
  }
  .copyright {
    align-items: flex-start;
    margin: 0;
    text-align: left;
  }
  .copyright p {
    text-align: left;
  }
  .copyright .site-contact {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
  .searchform {
    display: none !important;
  }
}
