/*
Theme Name: bian_mb3
Theme URI: https://www.binance.com
Author: Binance Team
Author URI: https://www.binance.com
Description: 币安Binance加密货币交易平台WordPress主题，支持必应搜索优化，响应式设计，左右布局文章页，三列延伸阅读网格。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binance
Tags: cryptocurrency, bitcoin, ethereum, trading, exchange, responsive, seo, bing-optimization
*/

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0b0e11;
  --bg-secondary: #1e2329;
  --bg-card: #1e2329;
  --bg-card-hover: #2b3139;
  --text-primary: #eaecef;
  --text-secondary: #848e9c;
  --text-muted: #5e6673;
  --accent: #f0b90b;
  --accent-hover: #d4a20a;
  --green: #0ecb81;
  --red: #f6465d;
  --border-color: #2b3139;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==================== Container ==================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Header / Navigation ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 28px;
  height: 28px;
  background-color: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--bg-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-register {
  background-color: var(--accent);
  color: var(--bg-primary);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-register:hover {
  background-color: var(--accent-hover);
}

/* ==================== Hero Section ==================== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  font-size: 14px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--bg-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-1px);
}

/* ==================== Stats Section ==================== */
.stats {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-value .unit {
  font-size: 24px;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== Features Section ==================== */
.features {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-icon.security {
  background-color: rgba(14, 203, 129, 0.15);
  color: var(--green);
}

.feature-icon.speed {
  background-color: rgba(240, 185, 11, 0.15);
  color: var(--accent);
}

.feature-icon.fee {
  background-color: rgba(240, 185, 11, 0.15);
  color: var(--accent);
}

.feature-icon.platform {
  background-color: rgba(66, 133, 244, 0.15);
  color: #4285f4;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== Market Section ==================== */
.market {
  padding: 80px 0;
}

.market-table-wrapper {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
}

.market-table thead th {
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.market-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}

.market-table tbody tr:last-child {
  border-bottom: none;
}

.market-table tbody tr:hover {
  background-color: var(--bg-card-hover);
}

.market-table td {
  padding: 18px 24px;
  font-size: 15px;
}

.market-table .pair {
  font-weight: 700;
  color: var(--text-primary);
}

.market-table .price {
  font-weight: 600;
  color: var(--text-primary);
}

.market-table .change-up {
  color: var(--green);
  font-weight: 600;
}

.market-table .change-down {
  color: var(--red);
  font-weight: 600;
}

.market-table .volume {
  color: var(--text-secondary);
}

/* ==================== CTA Section ==================== */
.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #2b3139 100%);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cta-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-box h2::before {
  content: "🚀";
  margin-right: 8px;
}

.cta-box p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  position: relative;
  z-index: 1;
}

/* ==================== Footer ==================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .market-table-wrapper {
    overflow-x: auto;
  }

  .market-table {
    min-width: 600px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 22px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-value {
    font-size: 24px;
  }
}

/* ==================== Screen Reader Only ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-primary);
}

/* ==================== Page Banner ==================== */
.page-banner {
  padding: 120px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Category Filter ==================== */
.category-filter {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background-color: transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.filter-tab.active {
  color: var(--bg-primary);
  background-color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

/* ==================== Article List / Grid ==================== */
.article-list-section {
  padding: 48px 0 80px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.article-card-link {
  display: block;
  color: inherit;
}

.article-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent);
  color: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.article-tag.small {
  position: static;
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  padding: 3px 8px;
}

.article-card-body {
  padding: 20px;
}

.article-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.meta-dot {
  margin: 0 4px;
}

/* ==================== Pagination ==================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  transition: all 0.3s;
}

.page-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  background-color: var(--bg-card-hover);
}

.page-btn.active {
  color: var(--bg-primary);
  background-color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.page-btn-prev,
.page-btn-next {
  min-width: auto;
  gap: 4px;
}

/* ==================== Article Detail Page ==================== */

/* Article Hero */
.article-hero {
  padding: 120px 0 40px;
}

.article-hero-content {
  max-width: 800px;
}

.article-category-tag {
  display: inline-block;
  background-color: rgba(240, 185, 11, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.article-hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.meta-author {
  font-weight: 600;
  color: var(--text-primary);
}

.meta-readtime {
  color: var(--text-muted);
}

/* Featured Image */
.article-featured-image {
  padding: 0 0 40px;
}

.article-featured-image img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Article Body */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.article-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.article-body ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Article Tags */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.tags-label,
.share-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.tag-link {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  display: inline-block;
}

.tag-link:hover {
  color: var(--accent);
  background-color: rgba(240, 185, 11, 0.1);
  border-color: var(--accent);
}

/* Share Buttons */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.share-btn {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.share-btn:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* Article Layout - Left/Right */
.article-layout {
  display: flex;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 60px;
}

.article-main {
  flex: 1;
  min-width: 0;
}

.article-main .article-body {
  max-width: none;
  margin: 0;
}

/* Article Sidebar */
.article-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: flex-start;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sidebar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Sidebar Download */
.sidebar-download .download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color 0.3s, background-color 0.3s;
}

.download-btn:hover {
  border-color: var(--accent);
  background-color: var(--bg-card-hover);
}

.download-icon {
  font-size: 22px;
  color: var(--text-primary);
}

.download-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.download-label {
  font-size: 10px;
  color: var(--text-muted);
}

.download-store {
  font-size: 14px;
  font-weight: 600;
}

/* Sidebar Trending */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item:hover h4 {
  color: var(--accent);
}

.trending-rank {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 24px;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

.trending-item:nth-child(1) .trending-rank {
  color: var(--accent);
}

.trending-item:nth-child(2) .trending-rank {
  color: #c0c0c0;
}

.trending-item:nth-child(3) .trending-rank {
  color: #cd7f32;
}

.trending-info {
  flex: 1;
  min-width: 0;
}

.trending-info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.trending-info time {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-more {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  margin-top: 12px;
  transition: opacity 0.3s;
}

.sidebar-more:hover {
  opacity: 0.8;
}

/* Sidebar CTA */
.sidebar-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(240, 185, 11, 0.2);
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
}

/* ==================== Related Articles (3-column grid) ==================== */
.related-articles {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border-color);
}

.related-articles h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.related-card-link {
  display: block;
  color: inherit;
}

.related-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.related-card:hover .related-card-image img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 20px;
}

.related-card-body .article-tag.small {
  display: inline-block;
  margin-bottom: 10px;
}

.related-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.related-card:hover .related-card-body h3 {
  color: var(--accent);
}

.related-card-body time {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== Responsive: List & Content Pages ==================== */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    gap: 30px;
  }

  .article-sidebar {
    width: 280px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 100px 0 30px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    flex-direction: column;
    gap: 40px;
  }

  .article-sidebar {
    width: 100%;
    position: static;
  }

  .article-hero {
    padding: 100px 0 30px;
  }

  .article-hero h1 {
    font-size: 26px;
  }

  .article-body h2 {
    font-size: 20px;
  }

  .article-body h3 {
    font-size: 16px;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-body p {
    font-size: 15px;
  }

  .article-tags,
  .article-share {
    flex-wrap: wrap;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-banner h1 {
    font-size: 24px;
  }

  .article-hero h1 {
    font-size: 22px;
  }

  .pagination {
    gap: 6px;
  }

  .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
