/* ============================================================
   v2-news.css  — styles for News, Blog, and homepage teasers
   ============================================================ */

/* ── Author header block (article template) ──────────────────── */
.article-author-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--v2-border);
  margin-bottom: 2rem;
}

.article-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--v2-accent3);
  flex-shrink: 0;
}

.article-author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.article-author-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--v2-accent2);
}

.article-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.article-author-position {
  font-size: 0.88rem;
  color: var(--v2-text-muted);
}

/* ── Article content area ─────────────────────────────────────── */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.article-date {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--v2-accent2);
  margin-bottom: 0.75rem;
  display: block;
}

.article-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.article-summary {
  font-size: 1.1rem;
  color: var(--v2-text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--v2-border);
}

.article-body {
  color: var(--v2-text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v2-text);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--v2-text);
  font-weight: 700;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--v2-radius);
  margin: 2rem auto;
}

.article-body a {
  color: var(--v2-accent);
  text-decoration: underline;
}

/* ── Back navigation for articles ────────────────────────────── */
.article-back-nav {
  margin-bottom: 2rem;
}

.article-back-nav a {
  font-size: 0.88rem;
  color: var(--v2-accent2);
  text-decoration: none;
}

.article-back-nav a:hover {
  color: var(--v2-accent);
  text-decoration: underline;
}

/* ── News / Blog listing cards ───────────────────────────────── */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-list-card {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.article-list-card:hover {
  border-color: var(--v2-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.article-list-card-date {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--v2-accent2);
  margin-bottom: 0.5rem;
}

.article-list-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.article-list-card-summary {
  font-size: 0.92rem;
  color: var(--v2-text-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.article-list-card-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.article-list-card-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--v2-accent3);
  flex-shrink: 0;
}

.article-list-card-author-name {
  font-size: 0.82rem;
  color: var(--v2-text-muted);
}

/* ── Homepage News/Blog Teaser (two-box row) ─────────────────── */
.news-blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-blog-box {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.news-blog-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v2-accent2);
  margin-bottom: 1rem;
}

.news-blog-box-date {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--v2-text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.news-blog-box-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.news-blog-box-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--v2-accent3);
  flex-shrink: 0;
}

.news-blog-box-author-name {
  font-size: 0.8rem;
  color: var(--v2-text-muted);
}

.news-blog-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.news-blog-box-summary {
  font-size: 0.9rem;
  color: var(--v2-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-blog-box-footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

@media (max-width: 768px) {
  .news-blog-row {
    grid-template-columns: 1fr;
  }

  .article-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

