/* PostSingle01 测试模板样式 — 配合 postsingle01_en.html + postsingle01.init.js */

[data-postsingle-section].postsingle01-section .blog-details-markdown :where(h1, h2, h3, h4, h5, h6),
[data-postsingle-section].postsingle01-section .page-markdown-content__body :where(h1, h2, h3, h4, h5, h6) {
  color: #fff !important;
}

[data-postsingle-section].postsingle01-section .blog-details-markdown :where(p, li, td, th, blockquote),
[data-postsingle-section].postsingle01-section .page-markdown-content__body :where(p, li, td, th, blockquote) {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-postsingle-section].postsingle01-section .blog-details-markdown ul li::before {
  background-color: rgba(255, 255, 255, 0.85) !important;
}

[data-postsingle-section].postsingle01-section .postsingle01-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-shell {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-main {
  border-radius: 0.75rem;
  background: #0a0a0a;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-nav--prev {
  left: 1rem;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-nav--next {
  right: 1rem;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-thumbs .postsingle01-thumb-slide {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

[data-postsingle-section].postsingle01-section .postsingle01-gallery-thumbs .postsingle01-thumb-slide img {
  display: block;
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
}

[data-postsingle-section].postsingle01-section
  .postsingle01-gallery-thumbs
  .swiper-slide-thumb-active.postsingle01-thumb-slide {
  border-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

[data-postsingle-section].postsingle01-section .postsingle01-tab-panel-inner {
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-postsingle-section].postsingle01-section .postsingle01-tab-panel-inner :where(p, li, td, th, div, span) {
  color: rgba(255, 255, 255, 0.85);
}

[data-postsingle-section].postsingle01-section .postsingle01-chip {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-ibm-plex-mono, ui-monospace, monospace);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

[data-postsingle-section].postsingle01-section .postsingle01-chip:hover {
  transform: translateY(-1px);
}

[data-postsingle-section].postsingle01-section .postsingle01-chip--tag {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

[data-postsingle-section].postsingle01-section .postsingle01-chip--tag:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

[data-postsingle-section].postsingle01-section .postsingle01-chip--category {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

[data-postsingle-section].postsingle01-section .postsingle01-chip--category:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

[data-postsingle-section].postsingle01-section .page-markdown-content__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}
