/**
 * Theme Name: zbanx
 * Author: zbanx
 * Description: zbanx blog
 * Version: 1.0.0
 */
html {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans SC, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}
body {
  background: #fff;
  padding: 0;
  margin: 0;
}
.site-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-page-header,
.site-page-footer {
  flex-grow: 0;
  flex-shrink: 0;
}
.site-page-body {
  flex-grow: 1;
  flex-shrink: 0;
  min-height: 0;
}
.site-header {
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header-wrapper {
  background: #fff;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}
.site-header-logo a,
.site-header-logo img {
  display: block;
  width: 120px;
}
.site-header-nav {
  display: block;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  flex-shrink: 0;
}
.site-header-lang {
  flex-grow: 0;
  flex-shrink: 0;
}
.site-header-list,
.site-header-list > li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header-list {
  display: flex;
  align-items: center;
}
.site-header-list > li {
  flex-grow: 0;
  flex-shrink: 0;
}
.site-header-list > li > a,
.site-header-nav-dropdown-trigger {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
}
.site-header-list > li > a {
  text-decoration: none;
  color: #000;
}
.site-header-list > li > a:hover {
  opacity: 0.8;
}
.site-header-nav-dropdown-trigger {
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.site-header-nav-caret {
  display: block;
  margin-top: 1px;
  width: 12px;
  height: 12px;
}
.site-header-nav-caret img {
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(0deg);
  transition: transform 0.2s ease-in;
}
.site-header-nav-dropdown-trigger:hover {
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.8);
}
.site-header-nav-dropdown-trigger:hover .site-header-nav-caret img {
  transform: rotate(180deg);
}
.site-header-nav-dropdown-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 4px;
}
.site-header-nav-dropdown {
  width: 520px;
  box-sizing: border-box;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  gap: 8px;
}
.site-header-nav-dropdown-trigger:hover .site-header-nav-dropdown-wrapper {
  display: block;
}
.site-header-nav-dropdown-item a {
  display: block;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
}
.site-header-nav-dropdown-item a:hover {
  background: #f5f5f5;
}
.site-header-nav-dropdown-item a b {
  display: block;
  font-weight: 500;
}
.site-header-nav-dropdown-item a span {
  display: block;
  opacity: 0.6;
  margin-top: 6px;
  line-height: 1.5;
}
.site-header-menu {
  display: none;
  height: 36px;
  align-items: center;
  cursor: pointer;
  padding: 0 8px;
}
.site-header-menu img {
  display: block;
  width: 16px;
  height: 16px;
}
.site-header-title {
  display: none;
}
@media screen and (max-width: 900px) {
  .site-header {
    gap: 16px;
    padding-right: 24px;
  }
  .site-header-menu {
    display: flex;
  }
  .site-header-nav::after {
    content: ' ';
    display: block;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -100;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease-in;
  }
  .site-header-nav[data-open="1"]::after {
    visibility: visible;
    pointer-events: unset;
    opacity: 1;
    z-index: 99999;
  }
  .site-header-nav-body {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80vw;
    background: #fff;
    z-index: 999999999;
    box-sizing: border-box;
    display: block;
    right: -80vw;
    pointer-events: none;
    transition: right 0.2s ease-in;
  }
  .site-header-nav[data-open="1"] .site-header-nav-body {
    right: 0;
    pointer-events: unset;
  }
  .site-header-list {
    display: block;
  }
  .site-header-list > li > a {
    padding: 8px 16px;
  }
  .site-header-nav-dropdown-wrapper {
    display: block;
    position: static;
  }
  .site-header-nav-dropdown-trigger {
    display: block;
    position: relative;
  }
  .site-header-nav-dropdown-trigger:hover {
    background: #fff;
  }
  .site-header-nav-label {
    display: block;
    margin-bottom: 6px;
  }
  .site-header-nav-caret {
    position: absolute;
    top: 8px;
    right: 16px;
    bottom: 8px;
    opacity: 0.5;
  }
  .site-header-nav-dropdown-trigger:hover .site-header-nav-caret img {
    transform: rotate(0deg);
  }
  .site-header-nav-dropdown {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: unset;
    width: auto;
  }
  .site-header-nav-dropdown-item a {
    padding: 6px 16px ;
  }
  .site-header-nav-dropdown-item a span {
    margin-top: 2px;
  }
  .site-header-nav-dropdown-item a:hover {
    background: #fff;
  }
  .site-header-title {
    display: flex;
    padding: 16px;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
  }
  .site-header-title img {
    display: block;
  }
  .site-header-title a {
    text-decoration: none;
  }
  .site-header-title a img {
    height: 24px;
    width: auto;
  }
  .site-header-title span {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .site-header-title span img {
    width: 16px;
    height: 16px;
  }
}
.language-selector-wrapper {
  position: relative;
  z-index: 9;
}
.language-selector {
  height: 36px;
  background: oklab(0% 0 0 / 0.15);
  box-sizing: border-box;
  line-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: #000;
  font-weight: 500;
  cursor: pointer;
}
.language-selector-popup {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 6px;
  min-width: 100%;
  white-space: nowrap;
}
.language-selector-popup ul,
.language-selector-popup li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.language-selector-popup ul {
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}
.language-selector-popup a {
  display: block;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
}
.language-selector-popup a[data-active="1"] {
  color: #2FC183;
}
.language-selector-popup a:hover {
  background: #f5f6f8;
  color: #2FC183;
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.language-selector-icon img,
.language-selector-caret img {
  display: block;
  width: 16px;
  height: 16px;
}
@media screen and (max-width: 900px) {
  .language-selector-label {
    display: none;
  }
  .language-selector-popup {
    right: 0;
  }
}
.home-page {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.home-title {
  text-align: center;
  margin: 48px 0;
  font-size: 48px;
  font-weight: 600;
}
.home-contact {
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-contact a {
  display: block;
  background: #2FC183;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  height: 28px;
  line-height: 28px;
  padding: 0 14px;
  border-radius: 14px;
}
.home-posts {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.1);
  padding: 32px;
  margin-bottom: 48px;
}
.home-post-article {
  display: flex;
  gap: 48px;
}
.home-post-thumbnail {
  flex-grow: 0;
  flex-shrink: 0;
}
.home-post-thumbnail img {
  width: 205px;
  height: auto;
}
.home-post-thumbnail-holder {
  width: 205px;
  height: 1em;
}
.home-post-meta {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
}
.home-post-header {
  display: flex;
}
.home-post-title {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
  padding: 0;
}
.home-post-time {
  flex-grow: 0;
  flex-shrink: 0;
  color: #64748B;
  font-size: 16px;
  line-height: 28px;
}
.home-post-title a {
  text-decoration: none;
  color: #020617;
}
.home-post-title a:hover {
  color: #2FC183;
}
.home-post-excerpt {
  font-size: 16px;
  color: #1E293B;
}
.home-post-excerpt p {
  margin: 0;
  margin-top: 14px;
}
.home-pagination {
  display: flex;
  justify-content: end;
  gap: 48px;
}
.home-prev-page,
.home-next-page {
  flex-grow: 0;
  flex-shrink: 0;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 5.333px;
}
span.home-prev-page,
span.home-next-page {
  opacity: 0.6;
  cursor: not-allowed;
}
a.home-prev-page:hover,
a.home-next-page:hover {
  background: #e8e8e8;
}
a.home-prev-page:active,
a.home-next-page:active {
  background: #e0e0e0;
}
.home-prev-page-icon,
.home-next-page-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("./images/arrow.svg");
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
}
.home-prev-page-icon {
  transform: rotate(180deg);
}
@media screen and (max-width: 900px) {
  .home-title {
    margin: 24px 0;
    margin-top: 36px;
    font-size: 28px;
  }
  .home-contact {
    margin: 24px 0;
    margin-bottom: 32px;
  }
  .home-post-article {
    display: block;
  }
  .home-post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
  }
  .home-post-header {
    display: block;
    margin-top: 10px;
  }
  .home-post-title {
    font-size: 16px;
  }
  .home-post-time {
    margin-top: 8px;
    font-size: 14px;
  }
  .home-post-excerpt {
    font-size: 14px;
  }
  .home-post-thumbnail-holder {
    display: none;
  }
  .home-pagination {
    justify-content: center;
  }
}
.post-page {
  max-width: 1280px;
  padding: 48px 32px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  gap: 40px;
}
.post-page-title {
  font-size: 40px;
  line-height: 150%;
  margin-top: 0;
}
.post-page-cover img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.post-page-content {
  font-size: 16px;
  color: #1E293B;
  line-height: 150%;
}
.post-page-content img {
  max-width: 100%;
}
.post-page-main {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
}
.post-page-main article h1,
.post-page-main article h2,
.post-page-main article h3,
.post-page-main article h4,
.post-page-main article h5,
.post-page-main article h6 {
  line-height: 150%;
}
.post-page-aside {
  flex-grow: 0;
  flex-shrink: 0;
  width: 205px;
}
.post-page-latest-posts,
.post-page-latest-posts li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-page-latest-posts {
  font-size: 14px;
  line-height: 28px;
}
.post-page-latest-posts li {
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 0;
}
.post-page-latest-posts li:last-child {
  border-bottom: 0;
}
.post-page-latest-posts li a {
  text-decoration: none;
  color: #64748B;
}
.post-page-latest-posts li a:hover {
  color: #2FC183;
}
.post-page-contact-wrapper {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 14px;
}
.post-page-contact {
  flex-grow: 0;
  flex-shrink: 0;
  background: #2FC183;
  color: #fff;
  border-radius: 14px;
  height: 28px;
  line-height: 28px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.post-page-contact:hover {
  opacity: 0.8;
  cursor: pointer;
}
.post-page-wechat {
  position: relative;
}
.post-page-wechat-icon {
  display: block;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.post-page-wechat-popup-wrapper {
  display: none;
  position: absolute;
  padding-top: 5px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.post-page-wechat:hover .post-page-wechat-icon {
  opacity: 0.8;
}
.post-page-wechat-popup {
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.05);
}
.post-page-wechat-popup img {
  display: block;
  margin: 0 auto;
  width: 96px;
  height: 96px;
}
.post-page-wechat-popup span {
  font-size: 14px;
  display: block;
  text-align: center;
  margin-top: 8px;
  color: #888;
  line-height: 150%;
}
.post-page-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
}
.post-page-nav-wrapper {
  flex-grow: 0;
  flex-shrink: 0;
  width: 200px;
}
.post-page-nav-label {
  color: #475569;
  line-height: 150%;
  margin-bottom: 4px;
}
.post-page-next,
.post-page-prev {
  text-decoration: none;
  color: #020617;
  line-height: 150%;
}
.post-page-next:hover,
.post-page-prev:hover {
  color: #2FC183;
}
@media screen and (max-width: 900px) {
  .post-page {
    display: block;
  }
  .post-page-cover img {
    display: none;
  }
  .post-page-aside {
    width: auto;
    margin-top: 48px;
  }
  .post-page-contact-wrapper {
    flex-direction: column;
    justify-content: center;
  }
  .post-page-nav {
    display: block;
  }
  .post-page-nav-wrapper {
    width: auto;
    margin-top: 24px;
    font-size: 14px;
  }
  .post-page-content {
    font-size: 14px;
  }
  .post-page-main article {
    font-size: 14px;
  }
  .post-page-main article h1 {
    font-size: 24px;
  }
  .post-page-main article p {
    font-size: 14px;
  }
}
.site-footer-wrapper {
  background: #fff;
  border-top: 1px solid #e7e7e9;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.site-footer-info {
  flex-grow: 0;
  flex-shrink: 0;
  width: 320px;
}
.site-footer-logo {
  display: flex;
}
.site-footer-logo a,
.site-footer-logo img {
  display: block;
  height: 24px;
}
.site-footer-introduction {
  font-size: 14px;
  margin-top: 18px;
  color: #71717b;
  line-height: 160%;
  word-break: break-word;
}
.site-copyright-wrapper {
  background: #fff;
  border-top: 1px solid #e7e7e9;
}
.site-copyright {
  max-width: 1280px;
  padding: 24px 32px;
  box-sizing: border-box;
  color: #71717b;
  font-size: 14px;
  margin: 0 auto;
}
.site-footer-social-medias {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}
.site-footer-social-medias > a,
.site-footer-social-medias > div {
  flex-grow: 0;
  flex-shrink: 0;
}
.site-footer-social-medias img {
  display: block;
  height: 18px;
}
.site-footer-wx-icon {
  position: relative;
  cursor: pointer;
}
.site-footer-wx-popup-wrapper {
  position: absolute;
  bottom: 100%;
  padding: 12px;
  left: -12px;
  display: none;
}
.site-footer-wx-popup {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 20px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}
.site-footer-wx-popup img {
  display: block;
  margin: 0 auto;
  width: 96px;
  height: 96px;
}
.site-footer-wx-popup span {
  white-space: nowrap;
  font-size: 14px;
  margin-top: 20px;
  display: block;
  text-align: center;
  color: #71717b;
}
.site-footer-nav {
  font-size: 14px;
  flex-grow: 1;
  flex-shrink: 1;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  color: #71717b;
  max-width: 800px;
}
.site-footer-nav-section-name {
  margin-bottom: 24px;
  font-weight: 500;
  color: #000;
}
.site-footer-nav ul,
.site-footer-nav li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-nav li {
  margin-top: 14px;
  line-height: 20px;
}
.site-footer-nav a {
  text-decoration: none;
  color: #71717b;
}
.site-footer-nav a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 900px) {
  .site-footer {
    display: block;
  }
  .site-footer-info {
    width: auto;
  }
  .site-footer-nav {
    display: block;
  }
  .site-footer-nav li {
    margin-top: 8px;
  }
  .site-footer-nav-section {
    margin-top: 20px;
  }
  .site-footer-nav-section-name {
    margin-bottom: 12px;
  }
}
