:root {
  --vt-color-primary: #007aff;
  --vt-color-success: #4cd964;
  --vt-color-warning: #f0ad4e;
  --vt-color-error: #dd524d;
  --vt-font-size-sm: 13px;
  --vt-font-size-base:17px;
  --vt-font-size-lg: 22px;
  --vt-text-color: #333;
  --vt-text-color-inverse: #fff;
  --vt-text-color-grey: #999;
  --vt-text-color-placeholder: #8c8c8c;
  --vt-text-color-disable: #e2e4eb;
  --vt-bg-color: #fff;
  --vt-bg-color-grey: #f1f1f1;
  --vt-bg-color-hover: #f2f2f2;
  --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
  --vt-bg-color-card: #ffffff;
  --vt-border-radius: 0px;
  --vt-border-color: #D4D9D9;
  --vt-shadow-color: #d1d2d3;
}

body.dark-mode {
  --vt-text-color: #b9b9b9;
  --vt-text-color-inverse: #333;
  --vt-text-color-grey: #999;
  --vt-text-color-placeholder: #808080;
  --vt-text-color-disable: #404244;
  --vt-bg-color: #2e2e2e;
  --vt-bg-color-grey: #5a5a5a;
  --vt-bg-color-hover: #979797;
  --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
  --vt-bg-color-card: #272727;
  --vt-border-color: #303030;
  --vt-shadow-color: #181818;
}

body.dark-mode img {
  filter: brightness(70%);
}
body.dark-mode .logo {
  filter: brightness(200%);
}

@media (prefers-color-scheme: dark) {
  body.dark-mode-auto {
    --vt-text-color: #b9b9b9;
    --vt-text-color-inverse: #333;
    --vt-text-color-grey: #999;
    --vt-text-color-placeholder: #808080;
    --vt-text-color-disable: #404244;
    --vt-bg-color: #2e2e2e;
    --vt-bg-color-grey: #5a5a5a;
    --vt-bg-color-hover: #979797;
    --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
    --vt-bg-color-card: #272727;
    --vt-border-color: #303030;
    --vt-shadow-color: #181818;
  }
  body.dark-mode-auto img {
    filter: brightness(70%);
  }
  body.dark-mode-auto .logo {
    filter: brightness(200%);
  }
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}


/* logo 闪烁 */
.flash.logo {
  position: relative;
  overflow: hidden;
}

.flash.logo::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
  opacity: 0.7;
  animation: logoLights 2s ease-in 1s infinite;
}

@keyframes logoLights {
  0% {
    left: -160px;
    top: 0;
  }
  to {
    left: 160px;
    top: 0;
  }
}
.flash.logo::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
  opacity: 0.8;
  animation: logoLights2 2s ease-in 1s infinite;
}

@keyframes logoLights2 {
  0% {
    left: -130px;
    top: 0;
  }
  to {
    left: 190px;
    top: 0;
  }
}
.dark-mode .flash.logo::after, .dark-mode .logo::before {
  display: none;
}

@charset "UTF-8";
/*
 * 默认的样式
 */
html {
  -webkit-text-size-adjust: none;
}

* {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

img {
  border: 0;
  height: auto;
  width: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: var(--vt-font-size-base);
  color: var(--vt-text-color);
  letter-spacing: 0.8px;
  position: relative;
  letter-spacing: 1px;
  background-color: var(--vt-bg-color);
  overflow-x: hidden;
}

body:before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: -1;
  display: block;
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  content: "";
}

a {
  color: var(--vt-text-color);
  font-size: var(--vt-font-size-base);
  text-decoration: none;
  letter-spacing: 1px;
}

a:hover {
  color: var(--vt-color-primary);
}

/**
 * 文章页，文档页等 公共的点赞，收藏 模块
 */
/**
 * 面包屑
 */
.breadcrumbs {
  width: auto;
  height: 35px;
  line-height: 35px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}
.breadcrumbs i {
  font-size: var(--vt-font-size-lg);
  vertical-align: -5px;
}
.breadcrumbs a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}

/**
 * 404
 */
.page-no-found {
  width: 100%;
  max-width: 350px;
  margin: 60px auto 250px auto;
  color: var(--vt-text-color);
}
.page-no-found img {
  width: 100%;
}
.page-no-found p {
  font-size: 30px;
  text-align: center;
}
.page-no-found a {
  display: block;
  width: 100px;
  height: 30px;
  color: var(--vt-text-color-inverse);
  font-size: 13px;
  margin: 50px auto 0px auto;
  line-height: 30px;
  text-align: center;
  background-color: var(--vt-color-primary);
  border-radius: 3px;
}
.page-no-found a:hover {
  color: var(--vt-text-color-inverse);
}

/**
 * 没有内容
 */
.no-content {
  text-align: center;
  padding: 100px 0px;
  font-size: var(--vt-font-size-base);
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.no-content img {
  max-width: 150px;
  margin: 20px auto;
}
.no-content p {
  margin-top: 10px;
  color: var(--vt-text-color-grey);
}

.search-title {
  margin-top: 10px;
  color: var(--vt-text-color);
}


/**
 * 按钮
 */
.btn-home {
  display: inline-block;
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary);
  padding: 13px 35px;
  margin: 15px 0 0 0;
  border-radius: 25px;
  font-size: 14px;
}

.more{
  display: flex;
  justify-content: center;
}

/**
 * 
 */
.vt-mobile-hide {
  display: none !important;
}
@media screen and (min-width:768px) {
  .vt-mobile-hide {
    display: block !important;
  }
}
.field {
  margin: 20px 0 0 0;
  position: relative;
}

.field .btn {
  padding: 0 15px;
}

.field-text label {
  display: block;
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 3px;
}

.field-text label,
.field-text input,
.field-text .form-help,
.field-text textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

.field-text input,
.field-text textarea {
  padding: 8px 30px 8px 8px;
  border: 1px solid var(--vt-border-color);
  border-radius: 3px;
}

.field-text :focus {
  outline: 0;
  box-shadow: 0 0 5px rgba(93, 162, 248, 0.5);
  border-color: var(--vt-color-primary);
}

.field-text :invalid {
  border-color: var(--vt-color-danger);
  box-shadow: 0 0 5px rgba(229, 43, 37, 0.5);
}

.form-help {
  display: block;
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  transition: all 0.05s linear;
}

input:focus + .form-help {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid var(--vt-color-warning);
  border-radius: 3px;
  font-style: italic;
  font-size: 13px;
  color: var(--vt-text-color);
  background-color: var(--vt-bg-color-grey);
  position: relative;
  width: auto;
  height: auto;
  crop: none;
}

input:disabled, textarea:disabled {
  background-color: var(--vt-bg-color-grey);
}

@media only screen and (min-width: 900px) {
  .field {
    width: 500px;
  }
}

@charset "UTF-8";
/*
 * 公共按钮
 */
.btn {
  display: inline-block;
  width: 100%;
  height: 32px;
  line-height: 32px;
  box-sizing: border-box;
  border: 1px solid var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  color: var(--vt-text-color);
  cursor: pointer;
  font-size: var(--vt-font-size-sm);
  text-align: center;
  padding: 0 8px;
  font-size: 13px;
}
.btn:hover {
  color: var(--vt-text-color);
}

.btn.btn-sm {
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  width: auto;
  padding: 0 8px;
}

.btn.btn-primary {
  background-color: var(--vt-color-primary);
  color: var(--vt-text-color-inverse);
}

.btn.btn-success {
  background-color: var(--vt-color-success);
  color: var(--vt-text-color-inverse);
}

.btn.btn-danger {
  background-color: var(--vt-color-danger);
  color: var(--vt-text-color-inverse);
}

.btn.btn-error {
  background-color: var(--vt-color-error);
  color: var(--vt-text-color-inverse);
}

.btn.btn-primary-sec {
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary);
}

.btn.btn-success-sec {
  border: 1px solid var(--vt-color-success);
  color: var(--vt-color-success);
}

.btn.btn-danger-sec {
  border: 1px solid var(--vt-color-danger);
  color: var(--vt-color-danger);
}

.btn.btn-error-sec {
  border: 1px solid var(--vt-color-error);
  color: var(--vt-color-error);
}

@media only screen and (min-width: 900px) {
  .btn, .btn-primary {
    width: auto;
  }
}

/**
 * 
 */
nav.pagination {
  font-size: 16px;
  border-top: 0px;
  border-bottom: 0px;
  margin: 0;
  padding: 0 0 20px 0;
}

nav.pagination .nav-links {
  align-items: baseline;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

nav.pagination .pagination-separator {
  margin: 10px 0;
}

nav.pagination .nav-links > * {
  min-width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 16px;
  border: 1px solid var(--vt-border-color);
  margin: 0px 7px 0px 0;
  display: block;
  background-color: var(--vt-bg-color-card);
  /*  box-shadow: 0 1px 3px var(--vt-shadow-color);*/
  padding: 1px 1px;
}

nav.pagination .nav-links > .current {
  background-color: var(--vt-bg-color-grey);
  border-color: var(--vt-border-color);
  font-weight: 600;
}

nav.pagination .nav-links .placeholder {
  display: none;
  visibility: hidden;
}

nav.pagination a {
  text-decoration: none;
}

nav.pagination a:hover {
  color: var(--vt-color-primary);
  border-color: var(--vt-color-primary);
}



.content-style {
  font-size: var(--vt-font-size-base);
  line-height: 32px;
}

.content-style a {
  font-size: var(--vt-font-size-base);
  color: var(--vt-color-primary);
}

.content-style img {
  max-width: 100%;
  margin: 5px 0px;
}

.content-style pre {
  line-height: 18px;
  font-size: 13px !important;
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  padding: 12px;
  margin: 5px 0;
  border-radius: var(--vt-border-radius);
}

.content-style p {
  margin-top: 30px;
  overflow: hidden;
}

.content-style p:first-child {
  margin-top: 0px;
}

.content-style h1,
.content-style h2,
.content-style h3,
.content-style h4,
.content-style h5 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-style h1 { font-size: 25px; }
.content-style h2 { font-size: 22px; }
.content-style h3 { font-size: 18px; }
.content-style h4 { font-size: 16px; }
.content-style h5 { font-size: 10px; }

.content-style ul {
  list-style: inherit;
  padding-left: 25px;
  margin-bottom: 5px;
}

.content-style ol {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 5px;
}

.content-style blockquote {
  padding: 15px;
  background-color: var(--vt-bg-color-grey);
  margin-top: 20px;
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
}

.content-style blockquote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-size: 38px;
  color: var(--vt-color-primary);
}

.content-style .content-excerpt {
  padding: 15px;
  background-color: var(--vt-bg-color);
  margin-top: 20px;
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
}

.content-style table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid var(--vt-border-color);
  margin-top: 10px;
}

.content-style table caption {
  color: var(--vt-text-color);
  font: italic 85%/1 arial, sans-serif;
  padding: 1em 0;
  text-align: center;
}

.content-style table td,
.content-style table th {
  border-left: 1px solid var(--vt-border-color);
  border-width: 0 0 0 1px;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: 0.5em 1em;
}

.content-style table thead {
  background-color: var(--vt-bg-color-grey);
  color: var(--vt-text-color);
  text-align: left;
  vertical-align: bottom;
}

.content-style table td,
.content-style table th {
  background-color: transparent;
  border-bottom: 1px solid var(--vt-border-color);
}

.content-style .hljs {
  /*background-color: transparent !important;*/
  white-space: pre-wrap;
}

.content-style .wp-caption {
  max-width: 100% !important;
}

.content-style .wp-caption img {
  margin-bottom: 0px !important;
}

.content-style .wp-caption .wp-caption-text {
  margin-top: 0px !important;
  font-size: var(--vt-font-size-sm) !important;
  color: var(--vt-text-color-grey);
  line-height: 15px !important;
}

.content-style hr {
  height: 1px;
  background-color: var(--vt-border-color);
  border: none;
  margin: 35px 0;
}
.mobile-nav {
  width: 100%;
  height: 45px;
  border-top: 1px solid var(--vt-border-color);
  position: fixed;
  bottom: 0px;
  background-color: var(--vt-bg-color-card);
  z-index: 999999;
}
.mobile-nav .mobile-nav-container {
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: space-between;
  margin: 0px auto;
}
.mobile-nav .mobile-nav-container a.nav-button {
  width: 70px;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
}
.mobile-nav .mobile-nav-container a.nav-button i {
  font-size: 20px;
}

@media only screen and (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}


/*
 * 底部按钮 回到顶部
 */
.float-widget {
  width: 45px;
  min-height: 50px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 999;
}

.float-widget .tool-widget {
  width: 45px;
  height: 45px;
  margin-top: 15px;
  position: relative;
}

.float-widget a.tool-button {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: 5px;
  background-color: var(--vt-shadow-color);
  cursor: pointer;
}

.float-widget a.tool-button i {
  z-index: 1;
  font-size: 18px;
  color: var(--vt-text-color);
  user-select: none;
}

/*@media only screen and (min-width: 900px) {
  .float-widget {
    position: fixed;
    right: 20px;
    bottom: 120px;
    display: block;
  }
}

@media only screen and (min-width: 1200px) {
  .float-widget {
    right: calc(50% - 680px);
  }
}


*/




/**
 * TOP BAR
 */
.top-bar{
	display: none;
}
.top-bar-main {
	box-sizing: border-box;
	height: 40px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	font-size: 13px ;
	color: var(--vt-text-color-grey);
}
.top-bar-item{
	margin: 0 15px 0 0;
}
.top-bar-main a{
	font-size: 13px;
	color: var(--vt-text-color-grey);
}
.top-bar .sns{
	display: none;
}


@media only screen and (min-width:900px){
	.top-bar-container{
		width: 1200px;
		margin: 0 auto;
	}
	.top-bar-container{
		display: flex;
		justify-content: space-between;
	}
	.top-bar-main {
		padding: 0 5px;
	}
	.top-bar{
		padding: 2px 0;
		display: block;
	}
	.top-bar .sns{
		display: flex;
		align-items: center;
	}
	.sns a{
		width: 23px;
		height: 23px;
		margin: 0 0 0 15px;
		cursor: pointer;
	}
	.sns a img{
		width: 100%;
		height: 100%;
	}






}






.vt-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  display: none;
}

.vt-dialog[open] {
  display: flex !important;
}

.vt-dialog[modal] {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(0, 0);
  z-index: 99;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}

.vt-dialog[modal]::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  background-color: var(--vt-bg-color-mask);
  position: fixed;
  top: 0;
  left: 0;
}

.no-scroll {
  overflow-y: hidden;
}

.dialog-widget {
  box-sizing: border-box;
  font-size: 18px;
  padding: 10px;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 20px var(--vt-shadow-color);
  position: relative;
  user-select: none;
}

.dialog-widget .close-button {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  right: 5px;
  text-align: center;
  color: var(--vt-text-color-grey);
  z-index: 9;
}

.dialog-widget .close-button i {
  font-size: 22px;
  font-weight: bold;
}

.dialog-header {
  height: 25px;
  font-size: 16px;
}

.dialog-header .title {
  float: left;
}

.dialog-header .close {
  float: right;
  font-size: 25px;
  position: relative;
  top: -5px;
}

.dialog-body {
  padding: 10px 0;
}

.dialog-body label {
  cursor: pointer;
  font-size: 14px;
}

.dialog-action-group {
  display: flex;
  justify-content: flex-end;
}

.dialog-action-group .btn {
  margin: 0 0 0 10px;
}

@charset "UTF-8";
/**
 * 模态对话框样式
 */
.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--vt-bg-color-mask);
  backdrop-filter: saturate(97%) blur(20px);
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal.modal-show {
  display: flex;
}

.widget-container {
  border-radius: var(--vt-border-radius);
  /* margin-bottom: 30px; */
}
.widget-container .widget-header {
  /*  padding: 15px 15px;*/
}
.widget-container .widget-header .widget-title {
  font-size: var(--vt-font-size-base);
  font-weight: bold;
  color: var(--vt-text-color);
}

@media only screen and (min-width:900px){
  .widget-container {
    margin-bottom: 60px !important;
  }
}


.widget-header.type-1 .widget-title {
  position: relative;
  padding-left: 15px;
}
.widget-header.type-1 .widget-title::after {
  content: "";
  width: 5px;
  height: 14px;
  background-color: var(--vt-color-primary);
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
}

.widget-header.type-2 .widget-title {
  position: relative;
  padding-left: 15px;
}
.widget-header.type-2 .widget-title::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--vt-color-primary);
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
}

.widget-header.type-3 .widget-title {
  display: inline-block;
  position: relative;
  z-index: 99;
}
.widget-header.type-3 .widget-title::after {
  content: "";
  width: 100%;
  height: 12px;
  background-color: var(--vt-color-primary);
  background-image: linear-gradient(90deg, var(--vt-color-primary), var(--vt-color-primary));
  opacity: 0.5;
  transform: scale(105%);
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  z-index: -1;
}


/******************************************************************************
 * 搜索
 */
.search-container{

}
.search-container form{
  display: flex;
  justify-content: space-between;
}
.search-container input[type="text"]{
  width: calc(100% - 110px);
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--vt-text-color-grey);
  text-indent: 10px;
}
.search-container input[type="text"]:focus {
  border-color: var(--vt-color-primary);
  outline: none;
  box-shadow: 0 0 2px var(--vt-color-primary);
}
.search-container input[type="submit"]{
  width: 100px;
  height: 40px;
  background-color: transparent;
  border: 1px solid var(--vt-text-color-grey);
  color: var(--vt-text-color-grey);
  cursor: pointer;
}
.search-container input[type="submit"]:hover{
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary);
}


/******************************************************************************
 * 图文列表
 */
.image-title.widget-container {
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
}
.image-title.widget-container .item-list-wrapper {
  padding: 20px 0 0 0;
  box-sizing: border-box;
}

.image-title.widget-container ul.item-list {
  width: auto;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}

.image-title.widget-container ul.item-list .item-widget {
  width: 100%;
  margin: 15px 0px 15px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a {
  display: flex;
  width: 100%;
  height: 65px;
  justify-content: flex-start;
  font-size: var(--vt-font-size-sm);
}

.image-title.widget-container ul.item-list .item-widget a img {
  width: 90px;
  height: 65px;
  flex-basis: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.image-title.widget-container ul.item-list .item-widget a .item-title {
  padding: 0px 0 3px 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-shrink: 1;
}

.image-title.widget-container ul.item-list .item-widget a .item-title div {
  font-size: 15px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a .item-title span {
  font-size: 10px;
  color: var(--vt-text-color-grey);
}


/**
 * HTML 卡片
 */
.html-card-container {
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  overflow: hidden;
  /* padding: 15px; */
}

.html-card-container img {
  /* width: 100%; */
  height: auto;
  /* border-radius: var(--vt-border-radius); */
  display: block;
}



/**
 * Tags
 */
.tag-container {
  margin-top: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.tag-container .tag-list {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
  margin-right: -20px;
}
.tag-container .tag-list .tag-item {
  overflow: hidden;
  margin: 0 20px 20px 0;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  display: block;
  color: var(--vt-text-color);
}
.tag-container .tag-list .tag-item:hover {
  color: var(--vt-color-primary);
}
.tag-container .tag-list .tag-item span {
  font-size: 16px;
  font-weight: bold;
}

@media only screen and (min-width: 900px) {
  .tag-container {
    margin-top: 20px;
  }
}





/******************************************************************************
 * single.php
 */

.article-widget {
  padding: 0;
  box-sizing: border-box;
}

.article-widget .article-category{
  padding: 0 0 30px 0;
}
.article-widget .article-category a{
  font-size: 16px;
  color: var(--vt-color-primary);
  letter-spacing:2px;
  margin: 0 5px 0 0;
}
  

.article-widget .article-title {
  line-height: 50px;
  font-size: 32px;
  font-weight: 500;
  color: var(--vt-text-color);
  word-break: break-all;
}

.article-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  color: var(--vt-text-color-grey);
  font-size: 14px;
  padding: 30px 0 30px 0;
}
.article-box a{ font-size:14px; color: var(--vt-text-color-grey); }

.article-box .author{
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-box .author .avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:0 4px 0 0;
  overflow: hidden;
}
.article-box .author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-box .meta-item {
  margin-right: 30px;
}
.article-box .meta-item i {
  font-size: 13px;
  margin: 0 2px 0 0;
}

.meta-item.comment-counter { display:none; }
@media only screen and (min-width:900px){
  .meta-item.comment-counter { display:block; }
}


.article-content
{
  padding: 20px 0 0 0;
  word-break: break-all;
}

.copyright-content {
  padding: 10px 20px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
  margin-top: 20px;
  background-color: var(--vt-bg-color);
}

.copyright-content i {
  display: inline-block;
  transform: scale(1.35);
  position: relative;
  /* top: 1px; */
}

.dark-mode pre {
  line-height: 18px;
  font-size: 13px !important;
  background-color: var(--vt-bg-color) !important;
  border-color: var(--vt-bg-color) !important;
  padding: 12px;
  margin: 5px 0;
  color: var(--vt-text-color);
  border-radius: var(--vt-border-radius);
}


/**
 * 文章内页分类和标签
 */
.tags-widget{
  margin: 50px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.tags-widget .icon{
  font-size:18px;
  color: var(--vt-text-color-grey);
  margin-right: 5px;
  position: relative;
  /* top: -2px; */
}
.tags-widget .tag-item{
  margin: 0 5px 0 0;
}
.tags-widget .tag-item a{
  display: block;
  padding: 0px 5px 0 0;
  line-height: 20px;
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
  border-radius: var(--vt-border-radius);
}


.the-end{
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0 50px 0;
  font-size: 14px;
  color:var(--vt-border-color);
}
.the-end::after, .the-end::before {
  content: '';
  background: var(--vt-border-color);
  max-width: 20%;
  height: 1px;
  margin: 0 1em;
  flex: 1;
}



/******************************************************************************
 * 文章列表
 */
.list-widget{
  padding: 0;
}
.list-widget {
  width: 100%;
}

.list-item {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  margin: 0 0 30px 0;
}

.list-item a.thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.6;
  position: relative;
}

.list-item a.thumbnail img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0;
  object-fit: cover;
}

.list-item .item-info {
  padding: 10px 0;
  box-sizing: border-box;
  font-size: 13px;
}

.list-item .item-info a.title {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 27px;
  min-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-item .item-info .meta{
  color: var(--vt-text-color-grey);
  margin: 15px 0 0 0;
}
.list-item .item-info .meta span{ margin:0 5px 0 0; }
.list-item .item-info .description {
  margin: 20px 0 0 0;
  font-size: 14px;
  color: var(--vt-text-color-grey);
  line-height: 25px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta {
  box-sizing: border-box;
  padding: 5px 5px;
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
}

.card-meta .meta i {
  position: relative;
  top: 1px;
}

@media only screen and (min-width:600px){
  .list-widget .list-item{
    width: 100%;
    display: flex;
    margin: 0 0 60px 0;
  }
  .list-item a.thumbnail{
    width: 300px;
    flex:0 0 auto;
  }
  .list-item .item-info{
    margin: 0 0 0 30px;
  }
}

@media only screen and (min-width:900px){
/*  .posts-widget .list-item{
    width: calc(33.33% - 60px);
    flex: 0 0 auto;
    margin: 0 60px 60px 0;
  }*/
}



/******************************************************************************
 * 卡片列表
 */
.posts-widget{
  padding: 0px 0 0 0;
}
.posts-widget {
  width: 100%;
  margin-right: -8px;
  margin-bottom: -8px;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}
@media only screen and (min-width:500px){
  .posts-widget {
    width: auto;
    margin-right: -30px;
    margin-bottom: -30px;
  }
}
@media only screen and (min-width:900px){
  .posts-widget {
    margin-right: -40px;
    margin-bottom: -40px;
  }
}


.card-item {
  width: 100%;
  box-sizing: border-box;
  /* box-shadow: 0 0 2px 0 var(--vt-shadow-color); */
  /* background-color: var(--vt-bg-color-card); */
  position: relative;
  margin: 0 0 30px 0;
  /*  outline: 1px solid var(--vt-border-color);*/
}

.card-item a.thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.6;
  position: relative;
}

.card-item a.thumbnail img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0;
  object-fit: cover;
}

.card-item .item-info {
  padding: 10px 0;
  box-sizing: border-box;
  font-size: 13px;
}

.card-item .item-info a.title {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 27px;
  min-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-item .item-info .meta{
  color: var(--vt-text-color-grey);
  margin: 15px 0 0 0;
}
.card-item .item-info .meta span{ margin:0 5px 0 0; }
.card-item .item-info .description {
  margin: 20px 0 0 0;
  font-size: 14px;
  color: var(--vt-text-color-grey);
  line-height: 25px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta {
  box-sizing: border-box;
  padding: 5px 5px;
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
}

.card-meta .meta i {
  position: relative;
  top: 1px;
}

@media only screen and (min-width:600px){
  .posts-widget .card-item{
    width: calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
    margin: 0 30px 30px 0;
  }
}

@media only screen and (min-width:900px){
  .posts-widget .card-item{
    width: calc(33.33% - 40px);
    flex: 0 0 auto;
    margin: 0 40px 40px 0;
  }
}


.nav-widget{
  padding: 30px 0 40px 0;
}



@media only screen and (min-width: 900px) {
  .nav-widget{
    padding: 50px 0 50px 0;
  }
}
/**
 * page
 */

.page-content {
  margin: 50px auto 0 auto;
  width: 900px;
}



.vt-header-wrapper {
  background-color: var(--vt-bg-color);
  border-bottom: 1px solid var(--vt-border-color);
  padding: 15px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.vt-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}


/**
 * logo
 */
.vt-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.logo .darkness {
  display: none;
}

body.dark-mode .logo img:first-child {
  display: none;
}

body.dark-mode .logo .darkness {
  display: block;
}

.vt-tagline {
  display: none;
  margin: 5px 0 0 0;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  line-height: 1.2;
}

/**
 * mobile top button
 */
.vt-top-action {
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
}
.vt-top-action.menu {
  right: auto;
  left: 10px;
}
@media screen and (min-width:768px) {
  .vt-top-action {
    display: none;
  }
}





/**
 * search
 */

.vt-search-area,
.vt-actions-area {
  display: none;
}

@media (min-width: 768px) {
  .vt-header-wrapper {
    padding: 30px 0;
  }

  .vt-container {
    padding: 0 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .vt-logo-area {
    width: auto;
    align-items: flex-start;
    text-align: left;
    min-width: 200px;
  }

  .logo img {
    height: 40px;
  }

  .vt-tagline {
    display: block;
  }

  .vt-search-area {
    display: block;
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
  }

  .vt-search-form {
    position: relative;
    display: flex;
    align-items: center;
  }

  .vt-search-input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 40px;
    font-size: var(--vt-font-size-base);
    color: var(--vt-text-color);
    background-color: var(--vt-bg-color-grey);
    border: 1px solid transparent;
    border-radius: var(--vt-border-radius);
    transition: all 0.3s ease;
  }

  .vt-search-input::placeholder {
    color: var(--vt-text-color-placeholder);
  }

  .vt-search-input:focus {
    outline: none;
    background-color: var(--vt-bg-color);
    border-color: var(--vt-border-color);
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
  }

  .vt-search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vt-text-color-grey);
    font-size: var(--vt-font-size-base);
    display: flex;
    align-items: center;
  }

  .vt-search-btn:hover {
    color: var(--vt-color-primary);
  }

  .vt-actions-area {
    display: flex;
    align-items: center;
  }

  .vt-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--vt-text-color);
    font-size: var(--vt-font-size-sm);
    margin: 0 10px;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .vt-action-item i {
    font-size: 18px;
    color: var(--vt-text-color);
    margin-bottom: 4px;
    transition: transform 0.2s;
  }

  .vt-action-item:hover {
    color: var(--vt-color-primary);
  }

  .vt-action-item:hover i {
    transform: translateY(-2px);
  }

  .vt-divider {
    width: 1px;
    height: 25px;
    background-color: var(--vt-border-color);
  }
}

@media (min-width: 1024px) {
  .vt-logo-area {
    min-width: 280px;
  }

  .vt-search-area {
    max-width: 600px;
    margin: 0 40px;
  }

  .vt-search-input {
    padding: 12px 20px;
    padding-right: 45px;
  }

  .vt-search-btn {
    right: 15px;
  }

  .vt-action-item {
    margin: 0 15px;
  }

  .vt-action-item i {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .vt-divider {
    height: 30px;
  }
}
/******************************************************************************
 * 菜单样式
 */
.header .vt-nav-menu {
  list-style: none;
  height: auto;
  width: 100%;
  float: left;
  margin-left: 0px;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  overflow-y: scroll;
  scrollbar-width: none;
  z-index: 999;
  background-color: var(--vt-bg-color-card);
}

.header .vt-nav-menu::-webkit-scrollbar {
  display: none;
}

.vt-nav-menu li {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 9;
  min-height: 60px;
  min-width: 60px;
  box-sizing: border-box;
  padding: 0px;
  flex: 0 0 auto;
}

.vt-nav-menu li a {
  font-size: var(--vt-font-size-base);
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  font-weight: normal;
  justify-content: space-between;
}

.child-menu {
  background-color: var(--vt-bg-color-card);
  flex-direction: column;
  box-sizing: border-box;
  padding: 10px 0 10px 30px;
  display: none;
}

.active .child-menu {}

.child-menu li {
  min-height: 40px;
  line-height: 40px;
}

.child-menu li a {

  font-size: 15px;
}

.child-menu li a i {
  font-size: 16px;
  font-weight: 600;
  position: absolute;
  top: 0px;
  right: 3px;
}

.menu-item-has-children .menu-item-has-children {
  box-sizing: border-box;
  padding-right: 20px;
}

.menu-item-has-children .menu-item-has-children .child-menu {
  top: 0px;
  left: 100%;
}

.menu-item-has-children.active>.child-menu {
  display: flex;
}

.menu-item-has-children .menu-item-has-children i {
  top: 15px;
}

.menu-item-has-children.active>a i {
  transform: rotate(180deg);
}

.menu-item-has-children .menu-item-has-children.active>a i {
  display: inline-block;
  transform: rotate(-90deg);
}


@media only screen and (min-width: 768px) {
  .header {
    height: auto;
  }

  .header .vt-nav-menu {
    list-style: none;
    height: 60px;
    width: 820px;
    float: left;
    padding: 0px;
    display: flex;
    flex-direction: row;
    overflow: visible;
    position: relative;
    top: 0;
    left: 0;
    background-color: transparent;
  }

  .vt-nav-menu>li {
    height: 60px;
  }

  .vt-nav-menu li {
    width: auto;
    margin: 0 15px 0 15px;
    justify-content: center;
  }

  .vt-nav-menu li .child-menu {
    position: absolute;
    top: 60px;
    left: 0;
    min-width: 200px;
    background-color: var(--vt-bg-color-card);
    box-shadow: 0 0 3px 0 var(--vt-shadow-color);
    border-radius: var(--vt-border-radius);
    position: absolute;
    display: none;
    flex-direction: column;
    padding: 10px;
  }
}
@media only screen and (min-width: 768px) {
  .header .vt-menu-wrapper {
    background-color: #111;
  }

  .vt-nav-menu > li > a {
    color: #eeeeee;
  }


}
.header {
  display: block;
  width: 100%;
  height: auto;
  z-index: 9;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0px 0px 3px 0 var(--vt-shadow-color);
}

.header .vt-menu-wrapper {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.header .vt-menu-wrapper::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
}

.vt-menu-wrapper .vt-menu-container {
  width: 70vw;
  height: 100vh;
  background-color: var(--vt-bg-color-card);
  position: relative;
  left: 0;
  top: 0;
  z-index: 9999;
}

@media only screen and (min-width: 768px) {
  .header .vt-menu-wrapper {
    width: 100%;
    height: auto;
    position: relative;
  }

  .header .vt-menu-container {
    width: 1200px;
    height: 60px;
    padding: 0 0px;
    margin: 0 auto;
    position: relative;
  }
}


/**
 * mobile vt-menu-action
 */
.vt-menu-container .vt-menu-action {
  box-sizing: border-box;
  padding: 10px 10px 0 10px;
  display: flex;
  justify-content: flex-end;
}

.vt-menu-container .vt-menu-action-item {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 23px;
  color: var(--vt-text-color-grey);
}

@media screen and (min-width:768px) {
  .vt-menu-wrapper::after {
    display: none;
  }

  .vt-menu-container {
    background-color: transparent !important;
  }

  .vt-menu-container .vt-menu-action {
    display: none;
  }

  .vt-menu-container .vt-menu-search {
    display: none;
  }
}


/**
 * mobile search
 */
.vt-menu-search {
  /* background-color: green; */
  padding: 10px;
}

.vt-menu-search .vt-search-form {
  position: relative;
}

.vt-menu-search .vt-search-input {
  box-sizing: border-box;
  padding: 10px 40px 10px 15px;
  width: 100%;
  outline: none;
  border: 1px solid var(--vt-border-color);
  color: var(--vt-text-color);
}

.vt-menu-search .vt-search-btn {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 3px;
  top: 8px;
  background-color: transparent;
  border: none;
  color: var(--vt-text-color-grey);
}


/**
 * mobile vt-menu
 */
.vt-menu {
  width: 100%;
  display: block;
}

.vt-menu .vt-nav-menu {
  float: none;
}


/**
 * mobile menu footer links
 */
.vt-m-footer-nav {
  padding: 24px;
}

.vt-m-footer-section {
  margin-bottom: 24px;
}

.vt-m-footer-title {
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.vt-m-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vt-m-footer-list a,
.vt-m-footer-text {
  color: var(--vt-text-color);
  font-size: var(--vt-font-size-base);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

@media screen and (min-width:768px) {
  .vt-m-footer-nav {
    display: none;
  }
}


/**
 * pc cart
 */
.vt-cart-widget {
  color: var(--vt-text-color-inverse);
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
  align-items: center;
  display: none;
}

.vt-cart-widget .price {
  color: #ffffff;
  font-size: 16px;
  font-weight: normal;
  margin-right: 15px;
  letter-spacing: 0.5px;
}

.vt-cart-widget .vt-cart-icon {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  color: #dcb346;
  margin-top: -3px;
}

.vt-cart-widget .vt-cart-icon i {
  font-size: 22px;
  line-height: 1;
}

@media screen and (min-width:768px) {
  .vt-cart-widget {
    display: flex;
  }
}
/**
 * footer
 *
 * @author: vtheme <mail@vtheme.cn>
 * @link: https://vtheme.cn
 */

 .footer {
  width: 100%;
  height: auto;
  background-color: #111;
  box-shadow: 0 0 1px 0 var(--vt-shadow-color);
  color: rgba(255,255,255, 0.6);
  font-size: 14px;
  padding: 0;
  box-sizing: border-box;
}

.footer a {
  font-size: 14px;
  color: rgba(255,255,255, 0.5);
}
.footer a:hover {
  color: var(--vt-color-primary);
}

.footer-top{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 0;
}
.footer-info{
  font-size:14px;
  margin:0;
}
.footer-info .content{
  padding:15px 15px;
  line-height: 30px;
  box-sizing: border-box;
}
.footer-info .thumbnail{
  display:flex;
  justify-content:flex-start;
  padding:0px 15px;
}
.footer-info .thumbnail img{
  max-width:260px;
  min-width:80px;
}

.footer .footer-info a.thumbnail img.darkness { display: none; }
.dark-mode .footer .footer-info a.thumbnail img { display: none; }
.dark-mode .footer .footer-info a.thumbnail img.darkness { display: block; }


/**
 * Footer Links
 */
.footer-link-widget{
  padding: 0 15px;
}
.footer-link-group {
  margin: 20px 0;
}
.footer-link-group-header {
  font-size: 18px;
  padding: 10px 0;
}
.footer-link-group-header .title {
  display: inline-block;
  position: relative;
}
.footer-link-group-body {
  position: relative;
  margin: 0 0 0 0;
}
.footer-link-group-child {
  padding: 5px 0;
  line-height: 1.35;
}


@media only screen and (min-width:768px){
  .footer-top{
    width: 1200px;
    margin: 0 auto 5% auto;
    padding: 30px 0;
    flex-direction: row;
    text-align: left;
    display: flex;
    justify-content: space-between;
  }
  .footer-info {
    max-width: 300px;
  }
  .footer-info .thumbnail {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0 0 0;
  }
  .footer-link-widget {
    flex: 1;
    padding: 0 0 0 100px;
    display: flex;
    justify-content: space-between;
  }
  .footer-link-group {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 30px;
    max-width: 33%;
  }
  .footer-link-group:last-child { padding-right: 0; }
  .footer-link-group-header .title{
    font-size: 16px;
    font-weight: 600;
  }
}


/**
 * Footer Copyright
 */
.footer-widget{
  position: relative;
}
.footer-widget:before{
  content: '';
  width: 100%;
  height: 0;
  border-top: 1px solid rgba(255,255,255, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.3;
}
.footer-container {
  border-top: 0px;
  line-height: 23px;
  padding: 15px 15px;
  font-size: 13px;
}
.footer-container a{
  font-size:13px;
}
.footer-container a:hover {
  color: var(--vt-color-primary);
}

.footer-container span {
  text-align: center;
  align-items: center;
  margin-top: 20px;
  padding: 0px 4px;
}

.footer-container span:nth-child(1) {
  margin-top: 0px;
}
.footer-copyright-widget {
  margin: 10px 0;
}
.footer-copyright-links {
  display: flex;
  margin: 10px 0;
  flex-wrap: wrap;
}
.footer-copyright-link-item{
  padding: 0 15px;
  position: relative;
}
.footer-copyright-link-item::after{
  content: '';
  display: block;
  width: 1px;
  height: 10px;
  background-color: rgba(255,255,255, 0.6);
  position: absolute;
  top: 7px;
  right: 0;
}
.footer-copyright-link-item:first-child { padding-left: 0; }
.footer-copyright-link-item:last-child::after { display: none; }

@media screen and (min-width:768px) {
  .footer-container {
    width: 1200px;
    margin: 0 auto;  
    padding: 1.2% 0;
    display: flex;
    justify-content: space-between;
  }
}

.widget-container {
  border-radius: var(--vt-border-radius);
  /* margin-bottom: 30px; */
}
.widget-container .widget-header {
  /*  padding: 15px 15px;*/
}
.widget-container .widget-header .widget-title {
  font-size: var(--vt-font-size-base);
  font-weight: bold;
  color: var(--vt-text-color);
}

@media only screen and (min-width:900px){
  .widget-container {
    margin-bottom: 60px !important;
  }
}


.widget-header.type-1 .widget-title {
  position: relative;
  padding-left: 15px;
}
.widget-header.type-1 .widget-title::after {
  content: "";
  width: 5px;
  height: 14px;
  background-color: var(--vt-color-primary);
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
}

.widget-header.type-2 .widget-title {
  position: relative;
  padding-left: 15px;
}
.widget-header.type-2 .widget-title::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--vt-color-primary);
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
}

.widget-header.type-3 .widget-title {
  display: inline-block;
  position: relative;
  z-index: 99;
}
.widget-header.type-3 .widget-title::after {
  content: "";
  width: 100%;
  height: 12px;
  background-color: var(--vt-color-primary);
  background-image: linear-gradient(90deg, var(--vt-color-primary), var(--vt-color-primary));
  opacity: 0.5;
  transform: scale(105%);
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  z-index: -1;
}


/******************************************************************************
 * 搜索
 */
.search-container{

}
.search-container form{
  display: flex;
  justify-content: space-between;
}
.search-container input[type="text"]{
  width: calc(100% - 110px);
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--vt-text-color-grey);
  text-indent: 10px;
}
.search-container input[type="text"]:focus {
  border-color: var(--vt-color-primary);
  outline: none;
  box-shadow: 0 0 2px var(--vt-color-primary);
}
.search-container input[type="submit"]{
  width: 100px;
  height: 40px;
  background-color: transparent;
  border: 1px solid var(--vt-text-color-grey);
  color: var(--vt-text-color-grey);
  cursor: pointer;
}
.search-container input[type="submit"]:hover{
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary);
}


/******************************************************************************
 * 图文列表
 */
.image-title.widget-container {
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
}
.image-title.widget-container .item-list-wrapper {
  padding: 20px 0 0 0;
  box-sizing: border-box;
}

.image-title.widget-container ul.item-list {
  width: auto;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}

.image-title.widget-container ul.item-list .item-widget {
  width: 100%;
  margin: 15px 0px 15px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a {
  display: flex;
  width: 100%;
  height: 65px;
  justify-content: flex-start;
  font-size: var(--vt-font-size-sm);
}

.image-title.widget-container ul.item-list .item-widget a img {
  width: 90px;
  height: 65px;
  flex-basis: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.image-title.widget-container ul.item-list .item-widget a .item-title {
  padding: 0px 0 3px 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-shrink: 1;
}

.image-title.widget-container ul.item-list .item-widget a .item-title div {
  font-size: 15px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a .item-title span {
  font-size: 10px;
  color: var(--vt-text-color-grey);
}


/**
 * HTML 卡片
 */
.html-card-container {
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  overflow: hidden;
  /* padding: 15px; */
}

.html-card-container img {
  /* width: 100%; */
  height: auto;
  /* border-radius: var(--vt-border-radius); */
  display: block;
}



/**
 * Tags
 */
.tag-container {
  margin-top: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.tag-container .tag-list {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
  margin-right: -20px;
}
.tag-container .tag-list .tag-item {
  overflow: hidden;
  margin: 0 20px 20px 0;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  display: block;
  color: var(--vt-text-color);
}
.tag-container .tag-list .tag-item:hover {
  color: var(--vt-color-primary);
}
.tag-container .tag-list .tag-item span {
  font-size: 16px;
  font-weight: bold;
}

@media only screen and (min-width: 900px) {
  .tag-container {
    margin-top: 20px;
  }
}





/******************************************************************************
 * 全局 banner 单页和分类页专用
 */

.banner {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1 / 0.3;
  color: #f8f8f8;
  font-size: var(--vt-font-size-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.banner .banner-container {
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 15px;
  text-align: center;
}

.banner .banner-container .title {
  font-size: 35px;
  font-weight: 500;
}

.banner .banner-container .description {
  margin-top: 30px;
  font-size: 20px;
  line-height: 18px;
}


@media screen and (min-width: 900px) {
  .banner {
    height: 220px;
    padding: 10px 0;
  }
  .banner .banner-container {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
  }
  .banner .banner-container .title {
    font-size: 35px;
    font-weight: 500;
  }
  .banner .banner-container .description {
    width: 500px;
    margin-top: 30px;
    font-size: 18px;
  }
}

.main-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 0 20px;
  box-sizing: border-box;
}

.main-container::after {
  content: "";
  display: block;
  clear: both;
}

.main-container .main-widget {
  width: 100%;
  padding: 30px 0 0 0;
}

.main-container .main-widget .main-header {
  font-size: var(--vt-font-size-base);
  margin-bottom: 30px;
}

.main-header + .main-container {
  padding-top: 8px;
}

.header + .main-container {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media only screen and (min-width: 900px) {
  .main-container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 0 0px 0;
    display: flex;
    justify-content: flex-start;
  }
  .main-container::after {
    content: "";
    display: block;
    clear: both;
  }
  .main-container .main-widget {
    width: 100%;
    margin-bottom: 0;
  }
  .main-container .main-widget > *:nth-child(1){
    margin-top: 0;
  }
  .header + .main-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .main-container .main-widget {
    
  }
}

@media only screen and (min-width: 1400px) {
  
}


.sider > div {
  margin-bottom: 30px;
}


@media only screen and (min-width: 900px) {
  .sider {
    width: 300px;
    flex: 0 0 300px;
    margin-left: 100px;
    position: relative;
    padding: 60px 0 0 0;
  }
  /* 最后一个模块粘性定位 */
  .sider .widget-container:last-child {
    position: sticky;
    top: 20px;
    margin: 0 0 20px 0;
  }
  .sider > div {
    margin-bottom: 20px;
  }
}



/******************************************************************************
 * Home module
 */
.main-header{
  text-align: center;
}

.main-header .subtitle{
  margin: 20px 0 0 0;
  color: var(--vt-text-color-grey);
  font-size: 14px;
  line-height: 20px;
}

@media only screen and (min-width:900px){
  .main-header h3{
    font-size: 30px !important;
  }
  .main-header .subtitle {
    max-width: 700px;
    margin: 20px auto 0 auto;
  }
}






























.dark-mode input, .dark-mode textarea {
  color: var(--vt-text-color);
  background-color: var(--vt-bg-color-card);
}
.dark-mode input:focus-visible, .dark-mode textarea:focus-visible {
  outline: 1px solid var(--vt-color-primary);
}




.vt-banner-section {
  background-color: #333;
  color: #fff;
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.vt-banner-container {
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.vt-banner-content {
  text-align: center;
  /* 移动端居中 */
  margin-bottom: 40px;
  max-width: 600px;
  z-index: 2;
}

.vt-banner-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.1;
}

.vt-banner-desc {
  font-size: var(--vt-font-size-base);
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.6;
}

.vt-banner-desc strong {
  font-weight: 700;
  color: #2c2c2c;
}

/* --- 按钮样式 --- */
.vt-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--vt-font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--vt-border-radius);
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
}

.vt-btn-success {
  background-color: var(--vt-color-success);
  color: var(--vt-text-color-inverse);
}

.vt-btn:hover {
  opacity: 0.9;
}

.vt-banner-image-wrapper {
  width: 100%;
  max-width: 500px;
  position: relative;
  margin-top: auto;
}

.vt-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .vt-banner-section {
    min-height: 500px;
  }

  .vt-banner-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
  }

  .vt-banner-content {
    text-align: left;
    flex: 1;
    padding-right: 40px;
    margin-bottom: 0;
  }

  .vt-banner-image-wrapper {
    flex: 1;
    max-width: 55%;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
  }

  .vt-banner-img {
    border-radius: 0;
    transform: translateX(20px);
  }

  .vt-banner-title {
    font-size: 64px;
    margin-top: 0;
  }
}
/* 最外层容器：限制最大宽度并居中 */
.vt-category-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 网格布局：使用 Flexbox + Padding 模拟间距（不使用 gap） */
.vt-category-grid {
    display: flex;
    flex-wrap: wrap;
}

/* 单个卡片样式 */
.vt-category-card {
    display: block;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 20px;
}
.vt-category-card:last-child { margin-bottom: 0; }

/* --- 核心修改：宽高比控制器 --- */
.vt-card-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 55%;
    overflow: hidden;     /* 裁剪放大的图片 */
    border-radius: var(--vt-border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 背景图片层 */
.vt-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

/* 黑色遮罩层 */
.vt-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

/* 内容层 */
.vt-card-content {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    color: var(--vt-text-color-inverse);
    box-sizing: border-box;
}

/* 标题与文字样式保持不变 */
.vt-card-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.vt-card-price {
    font-size: var(--vt-font-size-base);
    margin: 0 0 24px 0;
    opacity: 0.9;
}

.vt-btn-shop {
    display: inline-block;
    background-color: var(--vt-color-success);
    color: var(--vt-text-color-inverse);
    padding: 10px 24px;
    font-size: var(--vt-font-size-sm);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

/* 悬停交互效果 */
.vt-category-card:hover .vt-card-bg {
    transform: scale(1.05);
}

.vt-category-card:hover .vt-btn-shop {
    filter: brightness(1.1);
}


@media (min-width: 768px) {
    .vt-category-wrapper {
        padding: 35px 0  0 0;
    }
    .vt-category-wrapper .vt-category-grid{
        margin-right: -20px;
    }
    .vt-category-card {
        width: calc(33.33% - 20px);
        margin-right: 20px;
    }
}
.main-container {
  padding: 30px 20px;
}
@media screen and (min-width:768px) {
  .main-container {
    padding: 40px 20px;
  }
}

.intro-widget {}

.intro-widget .intro-item {
  margin: 0 0 30px 0;
}

.intro-widget .intro-item:last-child {
  margin: 0;
}

.intro-widget .intro-item .thumbnail {
  width: 100%;
  aspect-ratio: 1 / 0.55;
}

.intro-widget .intro-item .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-body {
  text-align: center;
  margin: 5px 0 10px 0;
}

.intro-body .content {
  margin: 10px 0 0 0;
  line-height: 30px;
  text-align: left;
  color: var(--vt-text-color-grey);
  font-size: 15px;
}

.intro-body .author {
  font-weight: 600;
  margin: 30px 0 0 0;
}


@media only screen and (min-width:900px) {
  .main-container.intro {
    padding: 50px 0 50px 0;
  }

  .intro-widget {
    padding-bottom: 35px;
  }

  .intro-widget .intro-item {
    display: flex;
    justify-content: space-between;
    margin: 90px 0 0 0 !important;
  }

  .intro-widget .intro-item .thumbnail {
    padding: 0 50px 0 0;
    flex: 0 0 auto;
    width: 46.5%;
  }

  .intro-widget .intro-item .intro-body {
    padding: 30px 0px;
    width: 46.5%;
    text-align: left;
  }

  .intro-widget .intro-item .intro-body .content {
    margin: 25px 0 0 0;
  }
}



/*样式覆盖*/
@media only screen and (min-width:900px) {
  .intro-item.reverse {
    flex-direction: row-reverse;
  }

  .intro-item.reverse .thumbnail {
    padding: 0 0 0 50px;
  }
}
.vt-hero-section {
  background-color: #e5e5e5;
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

/* --- 顶部通知条 --- */
.vt-hero-topbar {
  background-color: #dc9814;
  color: var(--vt-text-color-inverse);
  text-align: center;
  padding: 15px 16px;
  font-size: var(--vt-font-size-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: none;
}
@media screen and (min-width:768px) {
  .vt-hero-topbar {
    display: block;
  }
}

/* --- 主容器 --- */
.vt-hero-container {
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* --- 左侧内容区 --- */
.vt-hero-content {
  text-align: center;
  /* 移动端居中 */
  margin-bottom: 40px;
  max-width: 600px;
  z-index: 2;
}

.vt-hero-title {
  font-size: 48px;
  /* 大标题 */
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
  line-height: 1.1;
}

.vt-hero-desc {
  font-size: var(--vt-font-size-base);
  color: #4a4a4a;
  margin-bottom: 32px;
  line-height: 1.6;
}

.vt-hero-desc strong {
  font-weight: 700;
  color: #2c2c2c;
}

/* --- 按钮样式 --- */
.vt-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--vt-font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--vt-border-radius);
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
}

.vt-btn-success {
  background-color: var(--vt-color-success);
  color: var(--vt-text-color-inverse);
}

.vt-btn:hover {
  opacity: 0.9;
}

.vt-hero-code {
  margin-top: 16px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color);
  opacity: 0.8;
}

/* --- 右侧图片区 --- */
.vt-hero-image-wrapper {
  width: 100%;
  max-width: 500px;
  position: relative;
  margin-top: auto;
}

.vt-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* =========================================
   3. 桌面端响应式 (Desktop Layout)
   ========================================= */
@media (min-width: 992px) {
  .vt-hero-section {
    min-height: 500px;
  }

  .vt-hero-container {
    flex-direction: row;
    /* 切换为左右布局 */
    justify-content: space-between;
    align-items: center;
    padding: 0px;
  }

  .vt-hero-content {
    text-align: left;
    /* 桌面端左对齐 */
    flex: 1;
    padding-right: 40px;
    margin-bottom: 0;
  }

  .vt-hero-image-wrapper {
    flex: 1;
    max-width: 55%;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
  }

  .vt-hero-img {
    /* 移除圆角以获得更现代的切图感，或者保留看你喜好 */
    border-radius: 0;
    /* 让图片稍微溢出一点容器以显得更大气，可选 */
    transform: translateX(20px);
  }

  .vt-hero-title {
    font-size: 64px;
    margin-top: 0;
  }
}

/* 最新产品列表样式 */

.main-container.lastest {
  position: relative;
}

@media screen and (min-width:768px) {
  .main-container.lastest {
    padding: 0 0 35px 0;
  }
}

.latest-products-grid {
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); */
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  margin-right: -15px;
  padding: 0;
  list-style: none;
}

.latest-products-grid li.product {
  position: relative;
  background: #fff;
  transition: all 0.3s ease;
  padding: 0;
  width: calc(50% - 20px);
  margin: 0 20px 20px 0;
}

/*
.latest-products-grid li.product:hover {
  transform: translateY(-5px);
}
*/

.latest-products-grid li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.latest-products-grid li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--vt-border-radius);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.latest-products-grid li.product:hover img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.latest-products-grid li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.latest-products-grid li.product h2.woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  margin: 0 0 8px 0;
  line-height: 1.4;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.latest-products-grid li.product:hover h2.woocommerce-loop-product__title {
  color: #6366f1;
}

.latest-products-grid li.product .price {
  font-size: 16px;
  font-weight: 600;
  color: #6366f1;
  margin-bottom: 12px;
  display: block;
}

.latest-products-grid li.product .price del {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 400;
  margin-right: 8px;
  text-decoration: line-through;
}

.latest-products-grid li.product .price ins {
  text-decoration: none;
}

.latest-products-grid li.product .button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-sizing: border-box;
}

.latest-products-grid li.product .button:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  /* transform: translateY(-2px); */
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.latest-products-grid li.product .button.add_to_cart_button.added {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* 平板屏幕适配 */
@media (min-width: 769px) {
  .latest-products-grid {
    margin-right: -30px;
  }
  .latest-products-grid li.product {
    width: calc(25% - 30px);
    margin: 0 30px 30px 0;
  }
}


.why-wrapper {
  border-top: 1px solid var(--vt-border-color);
  border-bottom: 1px solid var(--vt-border-color);
}

@media screen and (min-width: 768px) {
  .why-wrapper {
    
  }
}

.vt-features-wrapper {
  max-width: 1200px;
  margin: 10px auto;
  padding: 60px 20px;
  text-align: center;
}

.vt-features-header {
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vt-features-title {
  font-size: var(--vt-font-size-lg);
  color: var(--vt-text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.vt-features-subtitle {
  font-size: var(--vt-font-size-base);
  color: var(--vt-text-color-grey);
  line-height: 1.6;
  margin: 0;
}

.vt-features-grid {
  display: flex;
  flex-direction: column;
  margin: 30px 0 0 0;
}

.vt-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

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

.vt-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.vt-feature-name {
  font-size: var(--vt-font-size-base);
  color: var(--vt-text-color);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.vt-feature-desc {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  line-height: 1.5;
  margin: 0;
  max-width: 300px;
}

@media (min-width: 768px) {
  .vt-features-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .vt-feature-item {
    flex: 1;
    margin-bottom: 0;
    margin-right: 20px;
  }

  /* 移除桌面端最后一个元素的右侧边距 */
  .vt-feature-item:last-child {
    margin-right: 0;
  }
}
.vt-brands-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.vt-brands-header {
    margin-bottom: 40px;
}

.vt-brands-title {
    font-size: var(--vt-font-size-lg);
    color: var(--vt-text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.vt-brands-subtitle {
    font-size: var(--vt-font-size-base);
    color: var(--vt-text-color-grey);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.vt-brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.vt-brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(50% - 15px);
    height: 80px;
}

.vt-brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 悬停效果：恢复彩色并放大 */
.vt-brand-item:hover {
    opacity: 1;
}

.vt-brand-item:hover img {
    filter: grayscale(0);
}

/* --- 响应式断点 --- */

/* 平板及以上：一行3个 */
@media (min-width: 768px) {
    .vt-brand-item {
        width: calc(33.333% - 20px);
    }
}

/* 桌面大屏：一行6个 */
@media (min-width: 1200px) {
    .vt-brand-item {
        width: calc(16.666% - 25px);
    }
}
/* 容器样式 */
.vt-trust-bar {
    background-color: #f8f9fa; /* 浅灰背景 */
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.vt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* 单个项目布局 */
.vt-trust-item {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 200px;
}

/* 图标区域 */
.vt-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcb14a; /* 金色主题色，可根据需要修改 */
    font-size: 20px; /* 控制图标大小 */
    margin-right: 15px;
    flex-shrink: 0; /* 防止图标被压缩 */
}

/* 文本区域 */
.vt-text-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vt-text-content p {
    margin: 0;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .vt-container {
        flex-direction: column;
        align-items: center;
    }

    .vt-trust-item {
        width: 100%;
        justify-content: flex-start; /* 手机上左对齐看起来更整齐 */
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .vt-trust-item:last-child {
        border-bottom: none;
    }
}

