@import "bootstrap.min.css";

:root{
  --gray-1: #EEF3FF;
  --orange: #f96308;
  --orange-10: #f9630816;
  --orange-hover: #e95308;
  --banner: #e7eeff;
  --bannerButton: #dbe2f3;
  --decoration-cyan: #26eed6;
  --footer-black: #141518;
  --footer-white: #bebfc4;
  --pink-light: #fef8f8;
  --support-article-anchor-offset: 120px;
}

a{
  text-decoration: none;
  color: var(--bs-black);
}

/*.dropdown:hover .dropdown-menu {*/
/*  display: block;*/
/*}*/
.navbar-dropdown-box {
  width: 200px;
  /*left: auto;*/
  /*right: auto;*/
  margin-top: 0.25rem;
}

.no-caret.dropdown-toggle::after {
  display: none;
}

@media (min-width: 1440px) {
  .user-dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
}

.my-img-fluid{
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.carousel-indicators [data-bs-target]{
  background-color: #666666;
  opacity: 0.1;
}
.carousel-indicators .active{
  opacity: 1;
}
.bg-gray-1{
  background-color: var(--gray-1) !important;
}

.filter-invert{
  filter: invert(1);
}

.filter-noInvert{
  filter: invert(0);
}

.mw-20{
  max-width: 20%;
}

.mw-80{
  max-width: 80%;
}

.mw-85{
  max-width: 85%;
}

.mw-90{
  max-width: 90%;
}

.mw-95{
  max-width: 95%;
}

.w-20{
  width: 20%;
}
.w-25{
  width: 25%;
}
.w-23{
  width: 23%;
}
.w-30{
  width: 30%;
}
.w-40{
  width: 40%;
}
.w-60{
  width: 60%;
}

.min-h-100{
  min-height: 100% !important;
}

@media (min-width: 992px){
  .bg-lg-light{
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
  }

  .bg-lg-banner{
    --bs-bg-opacity: 1;
    background-color: var(--banner) !important;
  }

  .filter-lg-invert{
    filter: invert(1);
  }

  .filter-lg-noInvert{
    filter: invert(0);
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }

  .w-125{
    max-width: 125%;
    width: 125%;
    margin-left: -12.5%;
  }

  .w-150{
    max-width: 150%;
    width: 150%;
    margin-left: -25%;
  }
}

.letterSpacing005{
  letter-spacing: 0.05em;
}
.letterSpacing007{
  letter-spacing: 0.07em;
}
.letterSpacing01{
  letter-spacing: 0.1em;
}
.letterSpacing02{
  letter-spacing: 0.2em;
}
.letterSpacing04{
  letter-spacing: 0.4em;
}
.just-letterSpacing04-center{
  padding-left: 0.8em;
}

.bg-pink-light{
  background-color: var(--pink-light);
}

.bg-orange{
  background-color: var(--orange);
}
.text-orange{
  color: var(--orange);
}

.inline-icon{
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
}
.inline-icon-1-25{
  height: 1.25em;
  width: auto;
  vertical-align: -0.3em;
}


.inline-icon-1-5{
  height: 1.5em;
  width: auto;
  vertical-align: -0.3em;
}

.inline-icon-2{
  height: 2.5em;
  width: auto;
  vertical-align: -0.3em;
}

.inline-icon-5{
  height: 5em;
  width: auto;
  vertical-align: -0.3em;
}

.vertical-bottom{
  vertical-align: bottom;
}

.bg-banner{
  background-color: var(--banner);
}

.bg-bannerButton{
  background-color: var(--bannerButton);
}

.bg-clock{
  background-image: url('../../img/frontend/bg-clock.webp');
  background-repeat: no-repeat; /* 控制平铺 */
  background-size: 100% 100%;   /* 控制拉伸 */
  background-position: center;  /* 控制对齐 */
}

.border-color-primary{
  border-color: var(--bs-primary);
}

.index-price-ul{
  line-height: 1.8em
}
.index-price-ul li::marker{
  color: var(--bs-primary);
}

.btn-orange{
  background-color: var(--orange) !important;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--orange);
  --bs-btn-border-color: var(--orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--orange-hover);
  --bs-btn-hover-border-color: var(--orange-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--orange-hover);
  --bs-btn-active-border-color: var(--orange-hover);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--orange-hover);
  --bs-btn-disabled-border-color: var(--orange-hover);
}

.ribbon {
  position: absolute;
  top: -7px;
  right: -7px;
}

.ribbon-text {
  width: 120px;
  height: 40px;
  position: absolute;
  top: 25px;
  right: -25px;
  transform: rotate(51deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.inno-bg{
  background-repeat: no-repeat; /* 控制平铺 */
  background-position: top;  /* 控制对齐 */
}

.inno-bg-main{
  background-image: url('../../img/frontend/inno-bg-main.webp');
  background-size: 100% 100%;   /* 控制拉伸 */
}

.inno-bg-1{
  background-image: url('../../img/frontend/inno-bg-1.webp');
  background-size: 100% 100%;   /* 控制拉伸 */
}

.inno-bg-2{
  background-image: url('../../img/frontend/inno-bg-2.webp');
  background-size: 100% 100%;   /* 控制拉伸 */
}

.inno-bg-3{
  background-image: url('../../img/frontend/inno-bg-3.webp');
  background-size: 100% 100%;   /* 控制拉伸 */
}

.possibility-decoration{
  min-width: 4em;
  width: auto;
  padding: 0.2em 1em;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  background-color: var(--decoration-cyan);
  border-bottom-right-radius: 10px;
}

.index-last-bg{
  background-repeat: no-repeat; /* 控制平铺 */
  background-position: center;  /* 控制对齐 */
  background-image: url('../../img/frontend/index-last-bg.webp');
  background-size: 100% 100%;   /* 控制拉伸 */
}

.line-height-1-8{
  line-height: 1.8rem;
}

.line-height-2-4{
  line-height: 2.4rem;
}


.bg-footer{
  background-color: var(--footer-black);
}

.text-footer{
  color: var(--footer-white);
}

.footer-menu a{
  color: var(--footer-white);
}

.bg-none{
  background: none!important;
}
.z-99{
  z-index: 99!important;
}

.bottom-email-input{
  color: var(--footer-white);
  border-color: var(--footer-white);
}
.bottom-email-input::placeholder{
  color: var(--footer-white);
}

/* 自定义复选框容器 */
.orange-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* 隐藏原生复选框 */
.orange-checkbox input {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  width: 1em;
  height: 1em;
}

/* 自定义未选中时的样式 */
.orange-checkbox input + span::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid #666; /* 边框颜色 */
  background-color: white;
  border-radius: 4px;
  transition: all 0.3s;
  vertical-align: middle;
}

/* 选中时的样式修改 */
.orange-checkbox input:checked + span::before {
  background-color: var(--bs-orange); /* 选中时的背景色 */
  border-color: var(--bs-orange);     /* 选中时的边框色 */
}

/* 自定义勾选标记（可选） */
.orange-checkbox input:checked + span::after {
  content: "✓";
  position: absolute;
  left: 0.1em;
  top: 0.1em;
  color: white;             /* 勾选颜色 */
  font-size: 1em;
}

.shadow-my{
  box-shadow: -1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

/* 横向滚动轮播特效 */
.scroll-container {
  background: var(--banner); /* 根据实际背景调整 */
}

.scroller {
  position: relative;
  /*transition: transform 0.5s linear;*/
  transition: none!important;
  white-space: nowrap;
}

.scroll-item {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0 1rem;
  background: var(--banner);
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.3s;
}

/* 渐变遮罩 */
.scroll-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.left-mask {
  left: 0;
  background: linear-gradient(90deg, rgba(231,238,255,1) 0%, rgba(231,238,255,0) 100%);
}

.right-mask {
  right: 0;
  background: linear-gradient(90deg, rgba(231,238,255,0) 0%, rgba(231,238,255,1) 100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .scroll-mask {
    width: 25%;
  }
}
/* 横向滚动轮播特效结束 */

/* 文字漂浮特效 */
.floating-text-area {
  position: absolute;
  overflow: hidden;
}

.floating-text {
  position: absolute;
  left: 0;
  white-space: nowrap;
  font-size: 20px;
  color: white;
  /* 初始位置在容器顶部 */
  top: 0;
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 自定义贝塞尔曲线:ml-citation{ref="2" data="citationList"} */
}

/* 新增呼吸动画效果:ml-citation{ref="1,4" data="citationList"} */
@keyframes breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}
/* 文字漂浮特效结束 */

.hover-shadow {
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease-in-out;
}
.hover-shadow:hover {
  box-shadow: 0 0 12px 3px rgba(0, 0, 0, 0.2);
}

.slide-panel {
  position: fixed;
  top: -500px; /* 初始位置在屏幕外 */
  left: 50%;
  transform: translateX(-50%);
  /*width: 90%;*/
  /*max-width: 600px;*/
  background: white;
  /*border-radius: 8px;*/
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 20px;
  transition: all 0.5s ease-in-out;
  z-index: 1050;
}

.slide-panel.active {
  top: 0; /* 滑动后的位置 */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.5);*/
  z-index: 1040;
  display: none;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.d-lg-inline-block .lang-dropdown {
    vertical-align: middle;
}

.lang-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.lang-dropdown__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1050;
    min-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    opacity: 0;
    transition: opacity .2s ease;
}

.lang-dropdown__panel.is-active {
    display: block;
    opacity: 1;
}

.lang-dropdown__inner {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
}

.lang-dropdown__title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.lang-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem 1.5rem;
}

.lang-dropdown__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .6rem;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: .9rem;
    transition: background .15s, color .15s;
}

.lang-dropdown__item:hover {
    background: rgba(53, 103, 255, .08);
    color: #3567ff;
}

.lang-dropdown__flag {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.index-timer-label-zh-cn{
  padding-left: 0.9em;
  padding-right: 0.9em;
}

.index-timer-label-en-us{
  padding-left: 0.4em;
  padding-right: 0.4em;
}

.white-space-pre-wrap{
  white-space: pre-wrap;
}

.bg-lang-panel{
  background-image: url('../../img/frontend/bg-lang-panel.webp');
  background-repeat: no-repeat; /* 控制平铺 */
  background-size: 100% auto;   /* 控制拉伸 */
  background-position: top;  /* 控制对齐 */
}

.font-size-3-75{
  font-size: 3.75rem;
}
.font-size-05{
  font-size: 0.5rem !important;
}
.font-size-065{
  font-size: 0.65rem !important;
}
.font-size-07{
  font-size: 0.7rem;
}
.font-size-08{
  font-size: 0.8rem;
}

.font-size-09{
  font-size: 0.9rem;
}

.font-size-1{
  font-size: 1rem !important;
}
.line-height-2{
  line-height: 2rem;
}

/* 移除所有输入框的错误图标 */
.form-control.is-invalid {
  background-image: none !important;  /* 关闭背景图标‌ */
  padding-right: 12px;  /* 修复因图标移除产生的布局偏移‌ */
}

/* 清除复选框/单选框的错误图标 */
.form-check-input.is-invalid {
  background-image: none !important;
}

.del{
  text-decoration: line-through;
}

.input-hide-appearance::-webkit-outer-spin-button,
.input-hide-appearance::-webkit-inner-spin-button {
  -webkit-appearance: none!important;
}

.input-hide-appearance{
  -moz-appearance: none !important;
}

.cursor-pointer{
  cursor: pointer;
}

#userDropdown::after{
  display: none;
  width: 0;
  margin: 0;
}

#topUserBack{
  left: -10px;
  width: 50px;
  height: 50px;
}

.table{
  white-space: nowrap;
}



.text-align-left{
  text-align: left;
}

.no-hover:hover,.no-hover:focus {
  background-color: initial !important;
  border-color: initial !important;
  box-shadow: none !important;
}

.tab-radio{
  color: var(--bs-black);
  background-color: var(--banner);
  cursor: pointer;
}

.tab-radio.active{
  color: var(--bs-white);
  background-color: var(--bs-primary);
}

.score-star {
  margin-left: 0.2em;
  height: 1em;
  width: auto;
}

.padding-10-percent{
    padding: 7.5%;
}

.border-bottom-dash{
  border-bottom-style: dashed !important;
}

.review-score-star{
  width: 0.75em;
  height: auto;
}

.qrcode-tooltip{
  opacity: 1!important;
}

.qrcode-tooltip .tooltip-inner{
  background-color: var(--bs-white);
  border: 1px solid var(--bs-black);
  opacity: 1;
}

.bg-height-50{
  background-size: 100% 50%;
  background-repeat: no-repeat;
}

.support-article-shell,
#articleBox {
  scroll-margin-top: var(--support-article-anchor-offset, 120px);
}

.support-article-layout--no-toc .support-article-main {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.support-article-content {
  width: min(100%, 860px);
  margin: 0 auto;
  line-height: 1.85;
  color: var(--bs-body-color);
}

.support-article-content > :first-child {
  margin-top: 0 !important;
}

.support-article-content > :last-child {
  margin-bottom: 0 !important;
}

.support-article-content img,
.support-article-content video,
.support-article-content iframe,
.support-article-content embed,
.support-article-content object {
  max-width: 100%;
}

.support-article-content iframe,
.support-article-content video {
  width: 100%;
}

.support-article-content img,
.support-article-content iframe,
.support-article-content video,
.support-article-content figure {
  display: block;
  margin: 1.5rem auto;
}

.support-article-content h1,
.support-article-content h2,
.support-article-content h3,
.support-article-content h4 {
  scroll-margin-top: var(--support-article-anchor-offset, 120px);
}

.support-article-aside {
  align-self: flex-start;
  position: sticky;
  top: var(--support-article-anchor-offset, 120px);
  z-index: 1000;
}

.support-article-toc {
  position: static;
  height: auto;
  width: min(100%, 250px);
  margin-left: auto;
  background: #f8faff;
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  padding: 1rem 0.95rem;
  box-shadow: 0 10px 30px rgba(20, 21, 24, 0.06);
}

.support-article-toc__eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
}

.support-article-toc__nav {
  max-height: calc(100vh - var(--support-article-anchor-offset, 120px) - 28px);
  overflow-y: auto;
  padding-right: 0.25rem;
}

.support-article-toc__nav .toc-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.support-article-toc__nav .toc-list-item + .toc-list-item {
  margin-top: 0.35rem;
}

.support-article-toc__nav .toc-list {
  padding-left: 0.9rem;
}

.support-article-toc__nav > .toc-list {
  padding-left: 0;
}

.support-article-toc__nav .toc-link {
  display: block;
  color: #5c6470;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.16rem 0 0.16rem 0.7rem;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.support-article-toc__nav .toc-link:hover,
.support-article-toc__nav .toc-link:focus {
  color: var(--bs-primary);
}

.support-article-toc__nav .is-active-link {
  color: var(--bs-primary);
  border-left-color: var(--orange);
  font-weight: 600;
  transform: translateX(2px);
}

@media (max-width: 991.98px) {
  .support-article-shell {
    padding: 1.5rem !important;
  }

  .support-article-content {
    width: 100%;
  }

  .support-article-aside {
    position: static;
    top: auto;
  }

  .support-article-toc {
    position: static;
    top: auto;
    width: 100%;
  }

  .support-article-toc__nav {
    max-height: none;
  }
}

/* ===== Blog ===== */

.blog-page {
    /* background: #f5f7fb; */
    color: #18202a;
}

/* Navbar Blog Dropdown */
.nav-item--blog-dropdown {
    position: static;
}

.blog-nav-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 20px);
    z-index: 1000;
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 1.5rem 2rem 1.25rem;
    display: none;
    border-radius: 12px;
}

.nav-item--blog-dropdown:hover > .blog-nav-dropdown {
    display: block;
}

.blog-nav-dropdown__inner {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.blog-nav-dropdown__group {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .25rem 1rem;
}

.blog-nav-dropdown__group-name {
    font-weight: 600;
    color: #1e293b;
    font-size: .9rem;
    margin-bottom: .25rem;
}

.blog-nav-dropdown__tags {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.blog-nav-dropdown__sep {
    display: none;
}

.blog-nav-dropdown__tag {
    color: #475569;
    font-size: .88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.blog-nav-dropdown__tag:hover {
    color: #3567ff;
}

/* Navbar macOS Dropdown (same pattern as Blog) */
.nav-item--mac-dropdown {
    position: static;
}

.mac-nav-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 20px);
    z-index: 1000;
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 1.25rem .75rem .75rem;
    display: none;
    border-radius: 12px;
}

.nav-item--mac-dropdown:hover > .mac-nav-dropdown {
    display: block;
}

.mac-nav-dropdown__inner {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.mac-nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.mac-nav-dropdown__item:hover {
    background: #f1f5f9;
    color: #3567ff;
}

.mac-nav-dropdown__item small {
    display: block;
    font-weight: 400;
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Down-triangle indicators for macOS & Blog */
.nav-item--mac-dropdown > .nav-link::after,
.nav-item--blog-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    margin-left: .3rem;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: .5;
    transition: opacity .15s;
}

.nav-item--mac-dropdown:hover > .nav-link::after,
.nav-item--blog-dropdown:hover > .nav-link::after {
    opacity: .85;
}

.blog-page-title {
    font-size: 1.75rem;
}

/* Blog List Search Bar */
.blog-search-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-search-bar__input {
    flex: 1 1 auto;
    height: 42px;
    padding: 0 .85rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: .9rem;
    color: #1e293b;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.blog-search-bar__input:focus {
    border-color: #3567ff;
    box-shadow: 0 0 0 3px rgba(53, 103, 255, .12);
}

.blog-search-bar__input::placeholder {
    color: #94a3b8;
}

.blog-search-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 1rem;
    border: 0;
    border-radius: 10px;
    background: #3567ff;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    white-space: nowrap;
}

.blog-search-bar__btn:hover {
    background: #2553d4;
}

.blog-filter-panel,
.blog-category-card,
.blog-post-card,
.blog-sidebar-card,
.blog-article-content,
.blog-empty-panel,
.blog-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(15, 35, 95, 0.08);
}

.blog-filter-panel,
.blog-empty-panel {
    padding: 1.5rem;
}

.blog-title {
    /*font-size: clamp(2rem, 3vw, 3.25rem);*/
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.blog-subtitle {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-section-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.blog-category-card,
.blog-post-card,
.blog-sidebar-card,
.blog-article-content {
    padding: 1rem 1.5em;
}

.blog-category-card__title,
.blog-post-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
}

.blog-category-card__title a,
.blog-post-card__title a,
.blog-text-link,
.blog-side-category-item {
    color: #18202a;
    text-decoration: none;
}

.blog-text-link {
    font-weight: 600;
    color: #3567ff;
}

.blog-category-card__meta,
.blog-post-card__meta,
.blog-breadcrumb {
    margin: .5rem 0;
    color: #94a3b8;
    font-size: .7rem;
}

.blog-mini-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.blog-mini-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none;
    color: #18202a;
}

.blog-mini-list__title {
    font-weight: 600;
}

.blog-mini-list__date {
    color: #94a3b8;
    white-space: nowrap;
}

.blog-post-card {
    overflow: hidden;
}

.blog-post-card__thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.blog-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-post-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    color: #3567ff;
    text-align: center;
    font-weight: 700;
}

.blog-post-card__body {
    padding-top: 1.25rem;
}

.blog-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}

.blog-post-card__desc {
    color: #64748b;
    margin: .85rem 0 0;
    line-height: 1.75;
    min-height: 4.8em;
}

.blog-filter-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.blog-filter-group__title {
    min-width: 120px;
    font-weight: 700;
    color: #1e293b;
}

.blog-filter-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .35rem;
}

.blog-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    transition: all .2s ease;
}

.blog-filter-chip:not(:last-child)::after {
    content: "|";
    margin-left: .2rem;
    color: #94a3b8;
}

.blog-filter-chip:hover,
.blog-filter-chip.active {
    background: transparent;
    color: #3567ff;
}

.blog-detail-main {
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 35, 95, 0.08);
    padding: 1.5rem;
    border-radius: 10px;
}

.blog-detail-main__header,
.blog-detail-main__all-tags,
.blog-detail-main__adjacent {
    margin-bottom: 1.5rem;
}

.blog-detail-main__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
}

.blog-detail-main__meta {
    margin-top: 1rem;
    gap: .5rem;
}

.blog-detail-main__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.blog-detail-main__meta-row .blog-tag-drawers__buttons {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-detail-main__date {
    color: #94a3b8;
    font-size: .9rem;
    white-space: nowrap;
}

.blog-detail-main__extras {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.blog-detail-main__source {
    color: #94a3b8;
    font-size: .9rem;
    white-space: nowrap;
    cursor: default;
}

.blog-detail-main__author {
    color: #94a3b8;
    font-size: .9rem;
    white-space: nowrap;
    text-decoration: none;
}

.blog-detail-main__author:hover {
    color: #6366f1;
}

.blog-meta-icon {
    display: inline-block;
    vertical-align: -2px;
    margin-right: .25rem;
    opacity: .7;
}

.blog-tag-drawer__toggle--link {
    text-decoration: none;
}

.blog-detail-main__content {
    margin-bottom: 1.5rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-detail-main__section-title {
    margin-bottom: .5rem;
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
}

.blog-detail-main__all-tags {
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.blog-detail-main__adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.blog-detail-main__adjacent-item {
    min-width: 0;
}

.blog-detail-main__adjacent-link {
    color: #18202a;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.7;
}

.blog-list-main {
    padding: 1.25rem 1.5rem;
}

.blog-list-feed {
    display: flex;
    flex-direction: column;
}

.blog-list-item {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.1rem 0;
}

.blog-list-item + .blog-list-item {
    border-top: 1px solid #e2e8f066;
}

.blog-list-item__title {
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.45;
    font-weight: 700;
}

.blog-list-item__title a {
    color: #18202a;
    text-decoration: none;
}

.blog-list-item__meta-wrap {
    gap: .45rem;
}

.blog-list-item__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.blog-list-item__meta-row .blog-tag-drawers__buttons {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-list-item__date {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: .875rem;
    white-space: nowrap;
}

.blog-list-item__extras {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.blog-list-item__source {
    color: #94a3b8;
    font-size: .875rem;
    white-space: nowrap;
    cursor: default;
}

.blog-list-item__author {
    color: #94a3b8;
    font-size: .875rem;
    white-space: nowrap;
    text-decoration: none;
}

.blog-list-item__author:hover {
    color: #6366f1;
}

.blog-list-item__content {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.blog-list-item__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    text-decoration: none;
}

.blog-list-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-list-item__summary-wrap {
    min-width: 0;
}

.blog-list-item__summary {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
}

.blog-list-main__pagination {
    margin-top: 1rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}

.blog-tag:not(:last-child)::after {
    content: "|";
    margin-left: 0.2rem;
    color: #94a3b8;
}

.blog-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-side-category-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.blog-side-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    transition: all .2s ease;
}

.blog-side-category-item.active,
.blog-side-category-item:hover {
    background: #3567ff;
    color: #fff;
}

.blog-article-content {
    line-height: 1.9;
    font-size: 1rem;
}

.blog-article-content img,
.blog-article-content video,
.blog-article-content iframe,
.blog-article-content table {
    max-width: 100%;
}

.blog-article-content pre {
    overflow: auto;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem;
}

.blog-breadcrumb a {
    text-decoration: none;
}

.blog-empty,
.blog-empty-panel {
    color: #94a3b8;
}

.blog-pagination .pagination {
    justify-content: center;
    gap: .4rem;
}

.blog-pagination .pagination li a,
.blog-pagination .pagination li span {
    border-radius: 10px !important;
    min-width: 40px;
    text-align: center;
    border: none;
    color: #475569;
    font-weight: 500;
    padding: .45rem .85rem;
    transition: background .2s, color .2s;
}

.blog-pagination .pagination li a:hover {
    background: #f1f5f9;
    color: #18202a;
}

.blog-pagination .pagination li.active .page-link {
    background: #3567ff;
    color: #fff;
}

.blog-pagination .pagination li.disabled .page-link {
    color: #cbd5e1;
    background: transparent;
}

@media (max-width: 991.98px) {
    .blog-filter-panel,
    .blog-empty-panel {
        padding: 1.5rem;
    }

    .blog-filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-filter-group__title {
        min-width: auto;
    }
}

.blog-home .blog-panel,
.blog-home .blog-empty-panel {
    border-radius: 8px;
}

.blog-featured {
    --blog-featured-media-width: 720px;
    --blog-featured-media-height: 450px;
}

.blog-home-block,
.blog-featured,
.blog-topic-panel {
    padding: 1.5rem;
}

.blog-topic-section {
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 35, 95, 0.08);
}

.blog-topic-section .blog-topic-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-topic-section .blog-topic-panel__header,
.blog-topic-section .blog-topic-panel__footer {
    padding-left: 0;
    padding-right: 0;
}

.blog-section-header,
.blog-home-block__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-section-desc,
.blog-topic-panel__desc {
    color: #64748b;
    line-height: 1.7;
}

.blog-compact-card__desc,
.blog-topic-news__desc {
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    min-height: 3rem;
}

.blog-section-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem .5rem;
}

.blog-btn-primary,
.blog-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .75rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.blog-btn-primary {
    background: linear-gradient(135deg, #ff8a00 0%, #ff5a3d 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 106, 61, 0.25);
}

.blog-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.blog-btn-primary.is-compact,
.blog-btn-secondary {
    min-height: 40px;
    padding: .65rem 1rem;
}

.blog-btn-secondary {
    background: #eef2ff;
    color: #3567ff;
}

.blog-featured__stage {
    min-height: 0;
    position: relative;
}

.blog-featured__item {
    display: none;
    height: 100%;
}

.blog-featured__item.is-active {
    display: block;
}

.blog-featured__layout {
    display: grid;
    grid-template-columns: minmax(0, var(--blog-featured-media-width)) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: start;
    justify-content: space-between;
}

.blog-featured__left,
.blog-featured__right,
.blog-featured__content-body {
    min-width: 0;
}

.blog-featured__right {
    display: flex;
    align-items: center;
}

.blog-featured__left {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1rem;
}

.blog-featured__stage--media {
    position: relative;
    min-height: var(--blog-featured-media-height);
    height: var(--blog-featured-media-height);
}

.blog-featured__stage--content {
    flex: 0 0 auto;
    width: 100%;
}

.blog-featured__visual-link,
.blog-featured__content-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-featured__visual-link:hover,
.blog-featured__content-link:hover {
    color: inherit;
}

.blog-featured__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--blog-featured-media-height);
    min-height: var(--blog-featured-media-height);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.blog-featured__item--media {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity .5s ease, visibility 0s linear .5s;
    will-change: opacity;
}

.blog-featured__item--media.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition-delay: 0s;
}

.blog-featured__visual img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-featured__thumbs-wrap {
    min-width: 0;
}

.blog-featured__content-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-featured__content-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-featured__title {
    margin: 0;
}

.blog-featured__summary {
    margin-top: 0;
    color: #64748b;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
}

.blog-featured__content-action {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #3567ff;
    font-weight: 700;
}

.blog-featured__content .blog-title a,
.blog-compact-card__title a,
.blog-side-news-item__title a,
.blog-topic-news__title a,
.blog-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-featured__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.blog-featured__nav {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    transition: all .2s ease;
    cursor: pointer;
}

.blog-featured__nav.is-active,
.blog-featured__nav:hover {
    border-color: #3567ff;
    background: #eef4ff;
    box-shadow: 0 8px 20px rgba(53, 103, 255, 0.15);
}

.blog-featured__nav-thumb {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-featured__nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-compact-stack,
.blog-side-news-list,
.blog-topic-panel__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-compact-card,
.blog-topic-news {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: #f8fafc;
}

.blog-topic-news {
    padding: 1rem 0;
    border-radius: 0;
    background: transparent;
}

.blog-topic-news + .blog-topic-news {
    border-top: 1px solid #e2e8f066;
}

/* 子栏目首篇文章：全宽大图布局 */
.blog-topic-news--featured {
    display: block;
}

.blog-topic-news--featured .blog-topic-news__media {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.blog-topic-news--featured .blog-topic-news__title {
    font-size: 1.25rem;
}

.blog-compact-card__media,
.blog-topic-news__media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.blog-compact-card__media img,
.blog-topic-news__media img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-compact-card__body,
.blog-topic-news__body {
    min-width: 0;
}

.blog-compact-card__title,
.blog-side-news-item__title,
.blog-topic-news__title,
.blog-topic-panel__title,
.blog-product-card__title {
    font-size: 1.1rem;
    line-height: 1.45;
    font-weight: 700;
    margin: .5rem 0 0;
}

.blog-side-news-item {
    padding-top: 0.5rem;
}

.blog-side-news-item + .blog-side-news-item {
    border-top: 1px solid #e2e8f066;
}

.blog-side-news-item__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: .9rem;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.blog-side-news-item__media img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-side-news-item .blog-post-card__meta {
    margin-top: .45rem;
}

.blog-side-news-item .blog-tag-drawers {
    margin-top: .8rem !important;
}

.blog-home-block__header--tabs {
    margin-bottom: 1rem;
}

.blog-news-tabs {
    overflow: visible;
}

.blog-news-tabs__nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0;
    padding: 0;
    border-bottom: 0;
}

.blog-news-tabs__nav-item {
    margin: 0;
}

.blog-news-tabs__tab {
    position: relative;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 700;
    padding: .35rem 0 .8rem;
    line-height: 1.2;
    transition: all .2s ease;
}

.blog-news-tabs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: #3567ff;
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: center;
    transition: opacity .2s ease, transform .2s ease;
}

.blog-news-tabs__tab:hover,
.blog-news-tabs__tab:focus {
    color: #3567ff !important;
    box-shadow: none;
}

.blog-news-tabs__tab.is-active,
.blog-news-tabs__tab.active,
.blog-news-tabs__tab[aria-selected="true"] {
    color: #3567ff !important;
}

.blog-news-tabs__tab.is-active::after,
.blog-news-tabs__tab.active::after,
.blog-news-tabs__tab[aria-selected="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.blog-news-tabs__content {
    position: relative;
}

.blog-news-tabs__pane[hidden] {
    display: none !important;
}

.blog-product-slider {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.blog-product-slider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef2ff;
    color: #3567ff;
    font-size: 1.5rem;
    line-height: 1;
}

.blog-product-slider__viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.blog-product-slider__viewport::-webkit-scrollbar {
    display: none;
}

.blog-product-slider__track {
    display: flex;
    gap: 1rem;
}

.blog-product-card {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .95rem;
    padding: 1.25rem;
    border-radius: 20px;
    background: #f8fafc;
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.blog-product-card:hover,
.blog-product-card:focus-visible {
    background: #f1f5f9;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.blog-product-card:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.blog-product-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    flex: 0 0 auto;
}

.blog-product-card__icon img {
    width: 42px;
    height: 42px;
    object-fit: fill;
}

.blog-product-card__body {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
}

.blog-product-card__title {
    margin: 0;
}

.blog-product-card__actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0;
}

.blog-product-card__buy {
    border-radius: 12px;
    min-width: 116px;
}

/* ── Sidebar Product Carousel ── */
.blog-side-product {
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.blog-side-product__viewport {
    overflow: hidden;
    position: relative;
}

.blog-side-product__track {
    display: flex;
    transition: transform .45s ease;
}

.blog-side-product__card {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .2s ease;
    text-decoration: none;
    color: inherit;
}

.blog-side-product__card:hover,
.blog-side-product__card:focus-visible {
    background: #f1f5f9;
}

.blog-side-product__card:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.blog-side-product__icon {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    /* background: #f8fafc; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-side-product__icon img {
    width: 80px;
    height: 80px;
    object-fit: fill;
}

.blog-side-product__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-side-product__buy {
    border-radius: 10px;
    min-width: 0;
    align-self: flex-start;
    font-size: .875rem;
    padding: .15rem .5rem!important;
}

.blog-side-product__dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: .75rem;
}

.blog-side-product__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: background-color .2s ease, width .2s ease;
}

.blog-side-product__dot.is-active {
    background: var(--orange);
    width: 20px;
    border-radius: 4px;
}

.blog-topic-panel__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f066;
}

.blog-tag-drawers {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.blog-tag-drawers__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    padding: .1rem 0;
}

.blog-tag-drawer__toggle {
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    padding: 0;
    min-height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    transition: color .2s ease;
}

.blog-tag-drawer__toggle::after {
    content: "▼";
    display: inline-block;
    flex-shrink: 0;
    color: #b8c4d3;
    font-size: .78em;
    font-weight: 700;
    line-height: 1;
    transform: translateY(.02em);
    transition: transform .2s ease, color .2s ease;
}

.blog-tag-drawer__toggle--link::after {
    content: "";
}

.blog-tag-drawer__toggle:hover,
.blog-tag-drawer__toggle.is-active {
    background: transparent;
    color: #64748b;
}

.blog-tag-drawer__toggle:hover::after,
.blog-tag-drawer__toggle.is-active::after {
    color: currentColor;
}

.blog-tag-drawer__toggle.is-active::after {
    transform: translateY(.06em) rotate(180deg);
}

.blog-tag:hover {
    color: #3567ff;
}

.blog-tag-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.blog-tag-drawer__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1050;
    min-width: 200px;
    padding: .6rem .75rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    opacity: 0;
    transition: opacity .2s ease;
}

.blog-tag-drawer__panel.is-active {
    display: block;
    opacity: 1;
}

.blog-tag-drawer__panel[hidden] {
    display: none !important;
}

.blog-tag-dropdown .blog-tag-chips {
    padding: 0;
}

@media (max-width: 1199.98px) {
    .blog-featured__layout {
        grid-template-columns: 1fr;
    }

    .blog-featured__content-link {
        min-height: 0;
    }

    .blog-featured__thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .blog-featured {
        --blog-featured-media-height: 320px;
    }

    .blog-featured__summary {
        display: none;
    }

    .blog-home-block,
    .blog-featured,
    .blog-topic-panel {
        padding: 1.25rem;
    }

    .blog-section-header,
    .blog-home-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-news-tabs__nav {
        width: 100%;
    }

    .blog-section-tags {
        justify-content: flex-start;
    }

    .blog-list-main {
        padding: 1.1rem 1.25rem;
    }

    .blog-list-item__meta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-list-item__date {
        white-space: normal;
    }

    .blog-list-item__extras {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .blog-list-item__source,
    .blog-list-item__author {
        white-space: normal;
    }

    .blog-list-item__content {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .blog-detail-main {
        padding: 1.25rem;
    }

    .blog-detail-main__meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-detail-main__date {
        white-space: normal;
    }

    .blog-detail-main__extras {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .blog-detail-main__source,
    .blog-detail-main__author {
        white-space: normal;
    }

    .blog-product-slider {
        grid-template-columns: 1fr;
    }

    .blog-product-slider__nav {
        display: none;
    }

    .blog-featured__layout {
        gap: 1rem;
    }

    .blog-featured__visual,
    .blog-featured__stage--media {
        min-height: var(--blog-featured-media-height);
    }

    .blog-featured__content-link {
        padding: 0;
    }

    .blog-featured__content-action {
        display: none;
    }

    .blog-featured__content-link .blog-featured__title {
        margin-top: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .blog-featured {
        --blog-featured-media-height: 240px;
    }

    .blog-news-tabs__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
        width: 100%;
    }

    .blog-news-tabs__tab {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .blog-featured__visual {
        height: var(--blog-featured-media-height);
        min-height: var(--blog-featured-media-height);
    }

    .blog-featured__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-featured__content-link {
        padding: 0;
    }

    .blog-list-main {
        padding: 1rem;
    }

    .blog-list-item {
        gap: .75rem;
        padding: 1rem 0;
    }

    .blog-list-item__content {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .blog-list-item__thumb {
        max-width: 100%;
    }

    .blog-detail-main {
        padding: 1rem;
    }

    .blog-detail-main__adjacent {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .blog-compact-card,
    .blog-topic-news {
        grid-template-columns: 1fr;
    }

    .blog-product-card {
        flex-basis: 82%;
    }
}

/* ===== Support Product ===== */

.myAccordion .expand-button {
    border: none;
    color: var(--bs-white);
    background-color: var(--bs-primary);
    padding: 0 0.3rem;
    border-radius: 0.25rem;
    width: 1.6rem;
}

.myAccordion .expand-button::after {
    content: "-";
}

.myAccordion .expand-button.collapsed::after {
    content: "+";
}

.support-switcher .active {
    color: var(--bs-white) !important;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* ==========================================================================
   Header Search
   ========================================================================== */

.header-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    vertical-align: middle;
}

.header-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: opacity .2s ease;
}

.header-search__toggle:hover {
    opacity: .8;
    color: #fff;
}

.header-search__toggle svg {
    /* padding: 5px; */
    color: var(--bs-primary-text);
}

.header-search__form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: width .3s ease, opacity .25s ease;
    z-index: 10;
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .6);
    margin-right: -2px;
}

.header-search.is-expanded .header-search__form {
    width: 320px;
    opacity: 1;
    pointer-events: auto;
}

.header-search.is-expanded .header-search__form:focus-within {
    border-color: rgba(255, 255, 255, .7);
}

.header-search__input {
    height: 34px;
    width: 100%;
    border: 0;
    border-radius: 7px 0 0 7px;
    background: transparent;
    color: #000000;
    padding: 0 10px;
    font-size: .85rem;
    outline: none;
}

.header-search__input::placeholder {
    color: rgba(0, 0, 0, .4);
}

.header-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0 7px 7px 0;
    background: rgba(255, 255, 255, .08);
    padding: 0 10px;
    cursor: pointer;
    color: #fff;
    transition: background .2s ease;
}

.header-search__submit:hover {
    background: rgba(255, 255, 255, .18);
}

/* ==========================================================================
   Search Results Page
   ========================================================================== */

.search-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-product-grid .blog-product-card {
    flex: 0 0 280px;
}

/* ==========================================================================
   Mobile mini-menu search
   ========================================================================== */

.mini-search {
    padding: 0.5rem 1.5rem;
}

.mini-search__form {
    display: flex;
    gap: 0.5rem;
}

.mini-search__input {
    flex: 1;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 0 10px;
    font-size: .9rem;
    outline: none;
}

.mini-search__input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.mini-search__btn {
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #3567ff;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Light-theme header search (order.html bg-white header) */
.header-search--light .header-search__form {
    border: 1px solid #e2e8f0;
}
.header-search--light.is-expanded .header-search__form:focus-within {
    border-color: #e2e8f0;
}

.header-search--light .header-search__toggle {
    color: #1e293b;
}

.header-search--light .header-search__input {
    border-color: #d1d5db;
    background: #f8fafc;
    color: #1e293b;
}

.header-search--light .header-search__input::placeholder {
    color: #94a3b8;
}

.header-search--light .header-search__input:focus {
    border-color: #3567ff;
    background: #fff;
}

.header-search .header-search__submit {
    background: #e2e8f0;
    color: #1e293b;
}

.header-search .header-search__submit:hover {
    background: #cbd5e1;
}

/* Responsive header search */
@media (max-width: 991.98px) {
    .header-search {
        display: none;
    }

    .search-product-grid .blog-product-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 767.98px) {
    .search-product-grid .blog-product-card {
        flex: 1 1 100%;
    }
}

/* 子标签列表 */
.blog-tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .5rem;
    padding: .5rem 0;
}

.blog-tag-chips .blog-tag,
.blog-section-tags .blog-tag {
    padding: .15rem .5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .82rem;
    font-weight: 400;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.blog-tag-chips h2 {
    display: inline-flex;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.blog-tag-chips h2 strong {
    display: inline-flex;
    font-weight: inherit;
}

.blog-tag-chips .blog-tag::after,
.blog-section-tags .blog-tag::after {
    content: none;
}

.blog-tag-chips .blog-tag:hover,
.blog-section-tags .blog-tag:hover {
    background: #e0e7ff;
    border-color: #93b4ff;
    color: #3567ff;
}

.blog-tag-chips .blog-tag.is-active,
.blog-section-tags .blog-tag.is-active {
    background: #3567ff;
    border-color: #3567ff;
    color: #fff;
}

/* 相关专题 */
.blog-related-topics {
    padding: .5rem 0;
}

.blog-related-topics__tags {
    margin-bottom: .75rem;
}

.blog-related-topics__list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.blog-related-topics__item {
    padding: .4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.blog-related-topics__item:last-child {
    border-bottom: none;
}

.blog-related-topics__item-title {
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 .25rem;
}

.blog-related-topics__item-title a {
    color: #1e293b;
    text-decoration: none;
}

.blog-related-topics__item-title a:hover {
    color: #3567ff;
}

.blog-related-topics__item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .8rem;
    font-size: .78rem;
    color: #94a3b8;
}

.blog-related-topics__item-group strong {
    font-weight: 500;
    color: #64748b;
}

.blog-related-topics__item-group a {
    color: #94a3b8;
    text-decoration: none;
}

.blog-related-topics__item-group a:hover {
    color: #3567ff;
}

/* ── Share Sidebar ── */
.blog-with-share {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.blog-share-sidebar {
    --site-header-height: 72px;
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.blog-share-sidebar__toggle,
.blog-share-sidebar__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.blog-share-sidebar__toggle:hover,
.blog-share-sidebar__close:hover {
    background: #3567ff;
    color: #fff;
    transform: scale(1.1);
}

.blog-share-sidebar__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.blog-share-sidebar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.blog-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.blog-share-btn:hover {
    background: #3567ff;
    color: #fff;
    transform: scale(1.1);
}

.blog-share-btn--contact {
    background: #e0f2fe;
    color: #0284c7;
}

.blog-share-btn--contact:hover {
    background: #0284c7;
    color: #fff;
}

.blog-share-divider {
    width: 24px;
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.blog-with-share__content {
    flex: 1;
    min-width: 0;
}

/* Wide screens (container-xxl is 1320px wide, viewport >= 1400px):
   floating share rail on the right outer side of the main content */
@media (min-width: 1400px) {
    .blog-share-sidebar {
        top: calc(var(--site-header-height) + 50px);
        right: max(12px, calc((100vw - 1320px) / 2 - 60px));
        width: 48px;
    }
    .blog-share-sidebar__toggle,
    .blog-share-sidebar__close {
        display: none;
    }
    .blog-share-sidebar__panel {
        display: flex;
    }
}

/* Narrow screens: collapsed share + contact buttons at the top-right,
   below the site header */
@media (max-width: 1399.98px) {
    .blog-with-share {
        flex-direction: column;
    }
    .blog-share-sidebar {
        /*top: calc(var(--site-header-height) + 8px);*/
        bottom: 20px;
        right: 12px;
        width: auto;
        z-index: 1100;
    }
    .blog-share-sidebar__toggle {
        display: flex;
    }
    .blog-share-sidebar__panel {
        display: none;
    }
    .blog-share-sidebar.is-open .blog-share-sidebar__toggle {
        display: none;
    }
    .blog-share-sidebar.is-open .blog-share-sidebar__panel {
        display: flex;
    }
    .blog-share-sidebar.is-open .blog-share-sidebar__close {
        display: flex;
    }
}
