/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/news/[slug]/NewsDetail.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
.news-detail {
  padding-top: 40px;
  padding-bottom: 60px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  color: var(--color-text-light);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 50%;
}

.news-detail-article {
  max-width: 860px;
  margin: 0 auto;
}

.news-detail-title {
  font-size: 35px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-text-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail-category {
  padding: 2px 10px;
  background: var(--color-bg-gray);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 14px;
}

.news-detail-cover {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 32px;
}

.news-detail-cover img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
}

.news-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
  color: var(--color-primary);
  line-height: 1.4;
  margin: 32px 0 16px;
}

.news-detail-content h2 {
  font-size: 24px;
}

.news-detail-content h3 {
  font-size: 20px;
}

.news-detail-content strong {
  font-weight: 600;
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 0 0 20px 24px;
}

.news-detail-content ul {
  list-style: disc;
}

.news-detail-content ol {
  list-style: decimal;
}

.news-detail-content li {
  margin-bottom: 8px;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
}

.news-detail-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.news-detail-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 12px 20px;
  margin: 0 0 20px;
  background: var(--color-bg-gray);
  color: var(--color-text-light);
}

.news-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.news-detail-content th,
.news-detail-content td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
}

.news-detail-content th {
  background: var(--color-bg-gray);
  color: var(--color-primary);
}

.news-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.news-share-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.news-share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.news-share-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.news-share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.news-share-copied {
  font-size: 14px;
  color: var(--color-accent);
}

.news-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.news-detail-nav-slot {
  flex: 1 1;
  min-width: 0;
  display: flex;
}

.news-detail-nav-slot.right {
  justify-content: flex-end;
  text-align: right;
}

.news-detail-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.news-detail-nav-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.news-detail-nav-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.news-detail-nav-link:hover .news-detail-nav-title {
  color: var(--color-primary);
}

.news-detail-nav-back {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-text);
  transition: all 0.2s;
}

.news-detail-nav-back:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.news-detail-related {
  margin-top: 60px;
}

.news-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.related-card:hover {
  box-shadow: 0 4px 16px rgba(10, 46, 92, 0.12);
}

.related-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-card:hover .related-card-img img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card-date {
  font-size: 14px;
  color: var(--color-text-light);
}

.related-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.related-card:hover .related-card-title {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .news-detail {
    padding-top: 24px;
  }

  .news-detail-title {
    font-size: 24px;
  }

  .breadcrumb-current {
    max-width: 100%;
  }

  .news-detail-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .news-detail-nav-slot.right {
    justify-content: flex-start;
    text-align: left;
  }

  .news-detail-nav-back {
    align-self: center;
    order: 3;
  }

  .news-detail-related-grid {
    grid-template-columns: 1fr;
  }
}

