/* ==========================================================================
   MOBILE APP RESOURCES / SHOW ARTICLE (resources.css)
   Mobile layout styles for category & article view in mobile container
   ========================================================================== */

.page-container {
  padding-bottom: 20px;
}

/* Category Hero */
.page-hero {
  background: linear-gradient(180deg, #1e1a38 0%, #151226 100%);
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--app-border);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #818cf8;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.breadcrumb-nav span {
  color: #64748b;
}

.landing-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  color: #fef08a;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Article Body */
.article-section {
  padding: 14px 12px 20px;
}

.article-main-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--app-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-main-visual img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.article-card-box {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.7;
}

.article-card-box h2,
.article-card-box h3 {
  font-family: var(--font-display);
  color: #ffffff;
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.article-card-box p {
  margin-bottom: 14px;
}

.article-card-box ul {
  padding-left: 20px;
  margin-bottom: 14px;
  list-style: disc;
}

.article-card-box li {
  margin-bottom: 6px;
}

/* Related Articles */
.related-section {
  padding: 10px 12px 25px;
}

.related-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.related-header h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.related-card {
  display: flex;
  gap: 12px;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.related-card:hover {
  background: var(--app-surface-2);
  border-color: rgba(124, 58, 237, 0.4);
}

.related-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.related-card-content {
  flex-grow: 1;
  min-width: 0;
}

.related-card-content h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.related-card-content p {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.related-read-link {
  font-size: 0.68rem;
  font-weight: 700;
  color: #818cf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
