/* article.css */
body {
  background: url('../images/bg-desktop.png') center/cover no-repeat fixed;
}

.article-frame {
  background: rgba(240, 235, 227, 0.95);
}

.article-detail {
  padding: 16px;
}

.article-detail-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
}

.article-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-ink);
  line-height: 1.4;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.article-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  overflow-wrap: anywhere;
}

.article-detail-content p {
  margin: 0 0 14px 0;
  text-indent: 2em;
}

.article-detail-excerpt {
  margin: -4px 0 16px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.static-article-detail {
  padding: 16px;
}

.static-article-detail .article-detail-content {
  margin-top: 4px;
}

[data-lang-block].hidden {
  display: none !important;
}

.static-article-page .lang-switch {
  margin-left: auto;
}

.static-article-page.in-iframe {
  background: transparent;
}

.static-article-page.in-iframe .app-wrapper {
  padding: 0;
  gap: 0;
  justify-content: center;
  min-height: auto;
}

.static-article-page.in-iframe .article-sidebar {
  display: none !important;
}

.static-article-page.in-iframe .phone-frame {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.static-article-page.in-iframe .phone-frame::before,
.static-article-page.in-iframe .phone-frame::after {
  display: none;
}

.static-article-page.in-iframe .page-ink-bg,
.static-article-page.in-iframe .page-ink-bg-image {
  border-radius: 0;
}

.static-article-page.in-iframe .page-ink-bg {
  min-height: 100vh;
}

:lang(en) .article-detail-title,
:lang(en) .article-detail-content,
:lang(en) .article-detail-excerpt {
  letter-spacing: 0;
  text-align: left;
}

.article-ad-container {
  margin: 16px 0;
  min-height: 80px;
}

.article-loading,
.article-error {
  text-align: center;
  padding: 40px 0;
  color: var(--text-secondary);
}
