:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --duration: 0.2s;
  --ease: ease;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

body.news-page {
  --news-bg: #ffffff;
  --news-bg-alt: #f7f8fa;
  --news-bg-card: #ffffff;
  --news-border: #e5e8ec;
  --news-border-soft: #ecedf1;
  --news-text: #171b21;
  --news-text-muted: #4b5563;
  --news-text-faint: #8b93a1;
  --news-accent: #1f4e8c;
  --news-accent-2: #2f6bb3;
  --news-accent-ink: #eaf1fb;
  background: var(--news-bg);
  color: var(--news-text);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn-outline {
  display: inline-block;
  border: 1px solid #c9ced6;
  color: var(--news-text);
  background: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn-outline:hover { background: var(--news-bg-alt); border-color: var(--news-accent); }

.article-breadcrumb {
  padding: 40px 24px 0;
  font-size: 13px;
  color: var(--news-text-faint);
}
.article-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-breadcrumb li { display: flex; align-items: center; }
.article-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  opacity: 0.6;
}
.article-breadcrumb a { color: var(--news-text-muted); text-decoration: none; transition: color var(--duration) var(--ease); }
.article-breadcrumb a:hover { color: var(--news-accent); }
.article-breadcrumb li[aria-current] { color: var(--news-text); font-weight: 500; }

.article-single-header {
  display: block;
  padding: 28px 24px 32px;
  max-width: 1140px;
  border-bottom: 1px solid var(--news-border-soft);
}

.news-card-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--news-accent);
  background: var(--news-accent-ink);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

.article-single-header h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--news-text);
  margin: 20px 0 20px;
}

.article-single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--news-text-faint);
}
.article-single-meta .dot { opacity: 0.6; }
.article-single-meta .author { color: var(--news-text-muted); font-weight: 500; }
.article-single-media figure {
  margin: 0;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  border: 1px solid var(--news-border);
  background: var(--news-bg-alt);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-single-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-single-body-wrap {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.article-single-body { font-size: 17px; line-height: 1.75; color: var(--news-text-muted); max-width: 680px; }
.article-single-body .lede { font-size: 20px; line-height: 1.6; color: var(--news-text); font-weight: 500; margin-bottom: 24px; }
.article-single-body p { margin-bottom: 20px; }
.article-single-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: var(--news-text);
  margin: 40px 0 16px;
  letter-spacing: -0.2px;
}
.article-single-body ul { margin: 0 0 24px; padding-left: 20px; }
.article-single-body li { margin-bottom: 10px; }

.article-single-body blockquote {
  position: relative;
  margin: 32px 0;
  padding: 28px 32px 24px 60px;
  background: var(--news-bg-alt);
  border-left: 3px solid var(--news-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-single-body blockquote::before {
  content: "\201C";
  position: absolute;
  left: 20px;
  top: 8px;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--news-accent-2);
  opacity: 0.5;
}
.article-single-body blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  color: var(--news-text);
  margin-bottom: 12px;
}
.article-single-body blockquote cite { font-size: 13px; font-style: normal; color: var(--news-text-faint); letter-spacing: 0.3px; }

.article-single-sidebar { display: flex; flex-direction: column; gap: 24px; }

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--news-text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--news-border-soft);
}
.article-share-links { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-share-links a {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--news-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--news-text-muted); text-decoration: none; font-size: 12px;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.article-share-links a:hover { background: var(--news-accent); border-color: var(--news-accent); color: #fff; }

.article-sidebar-card {
  background: var(--news-bg-card);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.article-sidebar-card h4 { font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--news-text); margin: 0 0 8px; }
.article-sidebar-card p { font-size: 14px; color: var(--news-text-muted); margin: 0 0 10px; line-height: 1.5; }
.article-sidebar-card a { color: var(--news-accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.article-sidebar-card a:hover { text-decoration: underline; }

.article-sidebar-related h4 { font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--news-text); margin: 0 0 16px; }
.article-sidebar-related ul { margin: 0; padding: 0; list-style: none; }

.news-card--compact {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  cursor: pointer;
}
.news-card--compact .thumb {
  width: 88px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm);
  background: var(--news-bg-alt);
  border: 1px solid var(--news-border);
  overflow: hidden;
}
.news-card--compact .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card--compact .news-card-tag { font-size: 10px; margin-bottom: 6px; padding: 3px 7px; }
.news-card--compact h3 { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0 0 4px; color: var(--news-text); }
.news-card--compact:hover h3 { color: var(--news-accent); }
.news-card--compact .date { font-size: 11px; color: var(--news-text-faint); }

.article-single-nav { margin-top: 56px; padding: 32px 0 64px; border-top: 1px solid var(--news-border-soft); }

@media (max-width: 900px) {
  .article-single-body-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-single-header h1 { font-size: 30px; }
  .article-single-media figure { height: 260px; }
}