/* News View - blog readable style */

.news-view-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #111827;
}

.news-view-date {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.news-view-thumb {
  margin: 28px 0 34px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.news-view-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.news-view-body {
  font-size: 17px;
  line-height: 1.95;
  color: #1f2937;
  word-break: keep-all;
}

.news-view-body > *:first-child {
  margin-top: 0 !important;
}

.news-view-body > *:last-child {
  margin-bottom: 0 !important;
}

.news-view-body h1,
.news-view-body h2,
.news-view-body h3,
.news-view-body h4,
.news-view-body h5,
.news-view-body h6 {
  margin-top: 44px;
  margin-bottom: 18px;
  color: #111827;
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.news-view-body h1 {
  font-size: 34px;
}

.news-view-body h2 {
  font-size: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef2f7;
}

.news-view-body h3 {
  font-size: 26px;
}

.news-view-body h4 {
  font-size: 22px;
}

.news-view-body h5 {
  font-size: 19px;
}

.news-view-body h6 {
  font-size: 17px;
}

.news-view-body p {
  margin: 0 0 20px;
}

.news-view-body strong,
.news-view-body b {
  color: #111827;
  font-weight: 700;
}

.news-view-body em,
.news-view-body i {
  color: #374151;
}

.news-view-body a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-view-body a:hover {
  color: #0b5f5a;
}

.news-view-body ul,
.news-view-body ol {
  margin: 10px 0 26px;
  padding-left: 24px;
}

.news-view-body ul {
  list-style: disc outside;
}

.news-view-body ol {
  list-style: decimal outside;
}

.news-view-body li {
  margin-bottom: 10px;
}

.news-view-body li > ul,
.news-view-body li > ol {
  margin-top: 10px;
  margin-bottom: 8px;
}

.news-view-body blockquote {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid #10b981;
  background: #f8fbff;
  border-radius: 10px;
  color: #334155;
  font-size: 16px;
}

.news-view-body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.news-view-body table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.news-view-body th,
.news-view-body td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  vertical-align: top;
  font-size: 14px;
}

.news-view-body th {
  background: #f8fafc;
  color: #111827;
  font-weight: 700;
}

.news-view-body tr:nth-child(even) td {
  background: #fcfdff;
}

.news-view-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.news-view-body figure {
  margin: 28px 0;
}

.news-view-body figure img {
  display: block;
}

.news-view-body figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.news-view-body pre {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
}

.news-view-body code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.92em;
}

.news-view-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.news-view-body .callout,
.news-view-body .notice-box,
.news-view-body .tip-box {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 12px;
}

.news-view-body .highlight,
.news-view-body mark {
  background: #fff3bf;
  color: #111827;
  padding: 0 2px;
}

.news-view-body .text-center {
  text-align: center;
}

.news-view-body .text-right {
  text-align: right;
}

.news-view-body .text-left {
  text-align: left;
}

@media (max-width: 991px) {
  .news-view-title {
    font-size: 30px;
  }

  .news-view-body {
    font-size: 16px;
    line-height: 1.88;
  }

  .news-view-body h1 {
    font-size: 30px;
  }

  .news-view-body h2 {
    font-size: 27px;
  }

  .news-view-body h3 {
    font-size: 23px;
  }

  .news-view-body h4 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .news-view-title {
    font-size: 25px;
  }

  .news-view-date {
    font-size: 13px;
  }

  .news-view-body {
    font-size: 15px;
    line-height: 1.82;
  }

  .news-view-body h1,
  .news-view-body h2,
  .news-view-body h3,
  .news-view-body h4,
  .news-view-body h5,
  .news-view-body h6 {
    margin-top: 32px;
    margin-bottom: 14px;
  }

  .news-view-body h1 {
    font-size: 26px;
  }

  .news-view-body h2 {
    font-size: 23px;
  }

  .news-view-body h3 {
    font-size: 20px;
  }

  .news-view-body table {
    font-size: 14px;
  }

  .news-view-body th,
  .news-view-body td {
    padding: 9px 10px;
  }
}
