/* 关于 d&b 页面样式 */

.about-db-main {
  background: #ffffff;
  padding: 2rem 0 4rem;
  color: #000000;
}

.about-db-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.about-db-hero-image {
  margin-bottom: 3rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.image-pagination {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.about-db-content-section {
  margin-bottom: 3rem;
  color: #000000;
}

.content-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-text {
  color: #000000;
  font-size: 1rem;
  line-height: 1.8;
}

.content-text p {
  color: #000000;
  margin-bottom: 1.25rem;
}

.mission-statement {
  color: #000000;
  font-weight: 600;
}

.about-db-gallery {
  margin: 2rem 0;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  overflow: visible;
}

.gallery-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.gallery-carousel-track {
  position: relative;
  width: 100%;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.gallery-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: 1.5rem;
  border-radius: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: #ffffff;
}

.gallery-pagination {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.gallery-text {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s, transform 0.2s;
  color: #000000;
  padding: 0;
  pointer-events: auto;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.gallery-arrow svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.more-about-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e5e5;
}

.more-about-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 2rem;
  text-align: left;
}

.more-about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.more-about-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.card-content {
  text-align: center;
}

.card-logo {
  margin-bottom: 1.5rem;
}

.card-logo .brand-db {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
}

.card-logo .brand-text {
  font-size: 1.25rem;
  color: #000000;
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: block;
}

.card-image-placeholder {
  width: 100%;
  height: 150px;
  background: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.btn-more-about {
  background: #7a49ff;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: background 0.2s;
}

.btn-more-about:hover {
  background: #6a39e6;
  color: #ffffff;
}

.share-section {
  background: #ffffff;
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.breadcrumb-section {
  background: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-section .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-section .breadcrumb-item a {
  color: #000000;
  text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
  color: #666666;
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #999999;
}

@media (max-width: 768px) {
  .about-db-title {
    font-size: 2rem;
  }
  
  .content-section-title {
    font-size: 1.5rem;
  }
  
  .more-about-cards {
    grid-template-columns: 1fr;
  }
}
