/* =================================
   全局公共样式表 (Less版本)
   ================================= */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  --FontBody: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
  --FontTitle: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
  --Theme: #0088FF;
  --BgPage: #f8f8f8;
  --BgNav: #FFFFFF;
  --BgFooter: #0088FF;
  --TextPrimary: #111111;
  --TextSecondary: #757575;
  --TextTertiary: #979897;
  --Hover: #0066CC;
  --Link: #0088FF;
  --Divider: #E5E5E5;
  --Border: #E5E5E5;
}
html {
  --dir-multiplier: 1;
  --dir-transform: rotateZ(0deg);
  background-color: var(--BgPage);
  overflow-x: hidden;
}
html[dir="rtl"] {
  --dir-multiplier: -1;
  --dir-transform: rotateZ(180deg);
}
body {
  overflow-x: hidden;
}
p {
  font-family: var(--FontBody);
}
h1,
h2,
h3,
h4,
h5,
h6,
div,
a,
dl,
dt,
dd,
ul,
ol,
li,
form,
table,
textarea,
button,
span,
input {
  font-family: var(--FontTitle);
}
ol,
ul,
li {
  list-style: none;
}
img {
  border: none;
  vertical-align: middle;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
}
input {
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
}
input:focus,
input:focus-visible,
input:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}
button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button:hover,
button:focus,
button:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
table,
td,
tr,
th {
  border-collapse: collapse;
}
ul::-webkit-scrollbar {
  width: 0 !important;
}
.app-card-title {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}
.category-card-title {
  color: #111111;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}
.adTitle {
  text-align: start;
  font-size: 12px;
  line-height: 16px;
  margin: 3px 0 6px 0;
  color: #ccc;
}
.adHeight {
  width: 100%;
  height: 252px;
}
.ad-box {
  width: 100%;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-start {
  text-align: start;
}
.text-primary {
  color: #0088FF;
}
.text-secondary {
  color: #757575;
}
.text-muted {
  color: #979897;
}
.text-light {
  color: #ccc;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-oneline {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
}
.cover-link {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  inset-inline-end: 0;
}
.clearfix {
  display: block;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
* html .clearfix {
  height: 1%;
}
* + html .clearfix {
  min-height: 1%;
}
.left {
  float: left;
}
.right {
  float: right;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 0.3s ease-in;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-in-up {
  animation: slideInUp 0.4s ease-out;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  animation: spin 1s linear infinite;
}
@media only screen and (max-width: 320px) {
  html {
    font-size: 13px;
  }
  .app-card-title {
    font-size: 14px;
  }
  .category-card-title {
    font-size: 16px;
  }
  .adHeight {
    width: 100%;
    height: 200px;
  }
  .ad-box {
    text-align: center;
  }
  .adTitle {
    padding: 0;
    font-size: 11px;
  }
}
@media only screen and (min-width: 321px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }
  .app-card-title {
    font-size: 15px;
  }
  .category-card-title {
    font-size: 17px;
  }
  .adHeight {
    width: 100%;
    height: 252px;
  }
  .ad-box {
    text-align: center;
  }
  .adTitle {
    padding: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
  html {
    font-size: 15px;
  }
  .app-card-title {
    font-size: 16px;
  }
  .category-card-title {
    font-size: 18px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
    margin: 20px 0;
  }
}
@media only screen and (min-width: 901px) and (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  .app-card-title {
    font-size: 16px;
  }
  .category-card-title {
    font-size: 18px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
    margin: 20px 0;
  }
}
@media only screen and (min-width: 1201px) {
  html {
    font-size: 16px;
  }
  .app-card-title {
    font-size: 18px;
  }
  .category-card-title {
    font-size: 20px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
  }
}
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
}
.section-hd-title {
  flex: 1;
  margin: 0;
  color: #0F112F;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.section-hd-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #979897;
  font-size: 14px;
  gap: 4px;
  transition: color 0.2s ease;
}
.section-hd-more:hover {
  color: #0088FF;
}
.section-hd-more svg {
  width: 16px;
  height: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  height: 52px;
  max-width: 100%;
  gap: 0;
}
.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #0088FF;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.breadcrumb-link svg {
  width: 14px;
  height: 14px;
  fill: #0088FF;
  flex-shrink: 0;
}
.breadcrumb-sep {
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 22px;
}
.breadcrumb-current {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .section-hd-title {
    font-size: 18px;
    line-height: 26px;
  }
  .section-hd-more {
    font-size: 13px;
  }
  .section-hd-more svg {
    width: 14px;
    height: 14px;
  }
  .breadcrumb {
    height: 100%;
    padding: 10px 0;
  }
}
.header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  box-sizing: border-box;
}
.header-body {
  width: 98%;
  max-width: 1200px;
  height: 49px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-image {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
}
.search-btn {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #EDEDED;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.search-btn:hover {
  background: #DEDEDE;
}
.search-btn svg {
  width: 16px;
  height: 16px;
  color: #666;
}
@media only screen and (min-width: 901px) {
  .header-body {
    padding: 0 24px;
  }
}
.footer {
  width: 100%;
  background: #0088FF;
  margin-top: 20px;
  box-sizing: border-box;
}
.footer-inner {
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 16px 18px;
  box-sizing: border-box;
}
.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #5AB8FF;
}
.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo-image {
  height: 24px;
  width: auto;
  object-fit: contain;
}
.footer-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #FAFEFF;
}
.footer-lang {
  flex-shrink: 0;
}
.footer-lang-select {
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  border: none;
  background: #329DFF;
  color: #FAFEFF;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.footer-lang-select option {
  color: #333;
}
.back-to-top {
  height: 32px;
  padding: 0 12px;
  background: #0088FF;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: all 0.3s ease;
}
.back-to-top:hover {
  background: #0066CC;
  transform: translateY(-2px);
}
.back-to-top:focus {
  outline: 2px solid #0088FF;
  outline-offset: 2px;
}
.back-to-top-icon {
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.back-to-top-icon svg {
  width: 100%;
  height: 100%;
  stroke: white;
  fill: none;
}
.back-to-top-text {
  color: white;
  font-size: 14px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  white-space: nowrap;
}
.footer-about {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer-about a {
  color: #FAFEFF;
  font-size: 14px;
  line-height: 20px;
  transition: opacity 0.2s ease;
}
.footer-about a:hover {
  opacity: 0.8;
}
@media only screen and (max-width: 767px) {
  .footer-about {
    gap: 12px;
  }
  .footer-about a {
    font-size: 13px;
  }
}
/* =================================
   文章列表页面样式
   ================================= */
.articlesWrap {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px 48px;
  box-sizing: border-box;
}
.articlesWrap .articles-section-title {
  color: #111111;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  padding: 10px 0;
  text-transform: capitalize;
}
.articlesWrap .articles-banner {
  width: 100%;
  height: 257px;
  background: #D9D9D9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  overflow: hidden;
}
.articlesWrap .articles-featured {
  display: flex;
  gap: 20px;
  align-items: stretch;
  padding-top: 16px;
  padding-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}
.articlesWrap .articles-featured-main {
  width: 608px;
  flex-shrink: 0;
  height: 342px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background: #D9D9D9;
}
.articlesWrap .articles-featured-main-wrap {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 100%;
}
.articlesWrap .articles-featured-main .articles-featured-main-wrap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.articlesWrap .articles-featured-main:hover .articles-featured-main-wrap-img {
  transform: scale(1.05);
}
.articlesWrap .articles-featured-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 54px 10px 10px;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 21.92px;
  text-transform: capitalize;
}
.articlesWrap .articles-featured-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 2px;
}
.articlesWrap .articles-featured-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}
.articlesWrap .articles-featured-item-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.articlesWrap .articles-featured-item-title {
  color: #111111;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.92px;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.articlesWrap .articles-featured-item-title:hover {
  color: #0088FF;
}
.articlesWrap .articles-featured-item-dec {
  color: #757575;
  font-size: 14px;
  font-weight: 400;
  line-height: 137%;
}
.articlesWrap .articles-featured-item-date {
  color: #757575;
  font-size: 14px;
  font-weight: 400;
  line-height: 137%;
}
.articlesWrap .articles-featured-item-thumb {
  width: 160px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #D9D9D9;
}
.articlesWrap .articles-featured-item-thumb-wrap {
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
  width: 160px;
  height: 90px;
}
.articlesWrap .articles-featured-item-thumb-wrap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.articlesWrap .articles-featured-item-thumb-wrap-img:hover {
  transform: scale(1.05);
}
.articlesWrap .articles-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0 16px;
}
.articlesWrap .articles-tag {
  padding: 6px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: 1px solid #E5E5E5;
  outline-offset: -1px;
  color: #757575;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.articlesWrap .articles-tag.is-active {
  background: #0088FF;
  outline: none;
  color: white;
}
.articlesWrap .articles-tag:hover:not(.is-active) {
  outline-color: #0088FF;
  color: #0088FF;
}
.articlesWrap .articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
  width: 100%;
}
.articlesWrap .articles-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.articlesWrap .articles-card-wrap {
  overflow: hidden;
  border-radius: 8px;
}
.articlesWrap .articles-card-wrap-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  background: #DDDDDD;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.articlesWrap .articles-card:hover .articles-card-wrap-img {
  transform: scale(1.05);
}
.articlesWrap .articles-card-name {
  color: #111111;
  font-size: 16px;
  font-weight: 400;
  line-height: 21.92px;
  text-transform: capitalize;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.articlesWrap .articles-empty {
  color: #757575;
  font-size: 16px;
  padding: 40px 0;
  grid-column: 1 / -1;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .articlesWrap {
    padding: 0 16px 32px;
  }
  .articlesWrap .articles-banner {
    height: 150px;
    font-size: 24px;
  }
  .articlesWrap .articles-section-title {
    font-size: 18px;
  }
  .articlesWrap .articles-featured {
    flex-direction: column;
    gap: 16px;
    padding-top: 12px;
  }
  .articlesWrap .articles-featured-main {
    width: 100%;
    height: 200px;
  }
  .articlesWrap .articles-featured-list {
    padding: 0;
    gap: 16px;
  }
  .articlesWrap .articles-featured-item-thumb {
    width: 120px;
    height: 68px;
  }
  .articlesWrap .articles-featured-item-thumb-wrap {
    width: 120px;
    height: 68px;
  }
  .articlesWrap .articles-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .articlesWrap .articles-tags::-webkit-scrollbar {
    display: none;
  }
  .articlesWrap .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .articlesWrap .articles-card {
    align-items: flex-start;
    gap: 12px;
  }
  .articlesWrap .articles-card-img {
    width: 120px;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
  }
  .articlesWrap .articles-card-name {
    flex: 1;
    font-size: 15px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .articlesWrap .articles-featured-main {
    width: 45%;
  }
  .articlesWrap .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
