/* Application Detail Page - 应用领域详情页 */

/* 页面容器 */
.application-detail-page {
  background-color: white;
}

/* 面包屑导航 */
.breadcrumb-section {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .breadcrumb-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .breadcrumb-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.breadcrumb-nav {
  display: flex;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb-link {
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: #1d4ed8;
}

.breadcrumb-separator {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.breadcrumb-current {
  color: #111827;
}

/* 应用领域详情区域 */
.application-detail-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: white;
}

.application-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .application-detail-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .application-detail-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 应用领域图片 */
.application-detail-image-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.application-detail-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}

/* 应用领域内容 */
.application-detail-content {
  color: #374151;
  line-height: 1.75;
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.application-detail-content p {
  margin-bottom: 1rem;
}

.application-detail-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.application-detail-content h1,
.application-detail-content h2,
.application-detail-content h3,
.application-detail-content h4 {
  color: #111827;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.application-detail-content h1 {
  font-size: 2rem;
}

.application-detail-content h2 {
  font-size: 1.5rem;
}

.application-detail-content h3 {
  font-size: 1.25rem;
}

/* 推荐产品区域 */
.recommended-products-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #f9fafb;
}

.recommended-products-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .recommended-products-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .recommended-products-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-title {
  font-size: 1.875rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1d4ed8;
  display: inline-block;
}

.section-title-text {
  display: inline-block;
}

.recommended-products-subtitle {
  font-size: 1.25rem;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.recommended-products-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 推荐产品网格 */
.recommended-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .recommended-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .recommended-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .recommended-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1280px) {
  .recommended-products-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }
}

/* 推荐产品卡片 */
.recommended-product-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.recommended-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.recommended-product-image-wrapper {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommended-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommended-product-card:hover .recommended-product-image {
  transform: scale(1.05);
}

.recommended-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 3rem;
}

.recommended-product-info {
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.recommended-product-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  flex: 1;
  margin: 0;
  transition: color 0.2s;
  line-height: 1.4;
}

.recommended-product-card:hover .recommended-product-name {
  color: #1d4ed8;
}

.recommended-product-arrow {
  font-size: 0.75rem;
  color: #6b7280;
  transition: all 0.2s;
  flex-shrink: 0;
}

.recommended-product-card:hover .recommended-product-arrow {
  color: #1d4ed8;
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .application-detail-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .application-detail-image {
    max-height: 300px;
  }

  .application-detail-content {
    font-size: 0.875rem;
  }

  .recommended-products-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .recommended-products-subtitle {
    font-size: 1.125rem;
  }

  .recommended-product-image-wrapper {
    height: 100px;
  }

  .recommended-product-info {
    padding: 0.5rem;
  }

  .recommended-product-name {
    font-size: 0.6875rem;
  }

  .recommended-product-arrow {
    font-size: 0.6875rem;
  }
}

