/* ==========================================================================
   ball24live.com — Dedicated News Article Page (Google SEO Optimized)
   ========================================================================== */

/* Breadcrumb Navigation */
.b24-breadcrumb {
  margin: 18px 0 16px;
  font-size: 13px;
}

.b24-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted, #94a3b8);
}

.b24-breadcrumb li a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.b24-breadcrumb li a:hover {
  color: var(--blue-cyan, #0052cc);
}

.b24-breadcrumb li.active {
  color: var(--text-main, #0f172a);
  font-weight: 600;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Article Layout Grid (Main Article + Sidebar) */
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

/* Main Article Card */
.article-full-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(15, 35, 80, 0.05);
}

[data-theme="dark"] .article-full-card {
  background: #0b1630;
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* Article Header */
.article-header {
  margin-bottom: 22px;
}

.article-tags-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.badge-article-league {
  background: #0052cc;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reading-estimate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-muted, #64748b);
}

.article-headline {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--text-main, #0f172a);
  margin: 0 0 16px;
}

[data-theme="dark"] .article-headline {
  color: #f8fafc;
}

.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  font-size: 13px;
  color: var(--text-muted, #64748b);
}

.byline-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.author-name {
  color: #16a34a;
  font-weight: 700;
}

.byline-sep {
  color: var(--border-subtle, #cbd5e1);
}

.published-time {
  color: var(--text-muted, #64748b);
}

.views-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted, #64748b);
}

/* Featured Cover Image */
.article-featured-image {
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  border: 1px solid var(--border-subtle, #e2e8f0);
}

.article-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.article-featured-image figcaption {
  padding: 8px 14px;
  font-size: 11.5px;
  color: var(--text-muted, #94a3b8);
  background: rgba(15, 23, 42, 0.04);
  text-align: right;
}

[data-theme="dark"] .article-featured-image figcaption {
  background: rgba(255, 255, 255, 0.03);
}

/* Article Body Content */
.article-content-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main, #1e293b);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

[data-theme="dark"] .article-content-body {
  color: #e2e8f0;
}

.article-lead {
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-main, #0f172a);
  border-left: 4px solid #0052cc;
  padding-left: 18px;
  margin: 0;
}

[data-theme="dark"] .article-lead {
  color: #ffffff;
  border-left-color: #38bdf8;
}

.article-content-body p {
  margin: 0;
}

/* Highlight Box */
.article-highlight-box {
  background: rgba(0, 82, 204, 0.06);
  border: 1px solid rgba(0, 82, 204, 0.2);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 10px 0;
}

[data-theme="dark"] .article-highlight-box {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}

.hl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0052cc;
  background: rgba(0, 82, 204, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

[data-theme="dark"] .hl-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
}

.article-highlight-box p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-main, #334155);
  margin: 0;
}

[data-theme="dark"] .article-highlight-box p {
  color: #cbd5e1;
}

/* Share & Footer Section */
.article-share-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-headline {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted, #64748b);
}

.share-buttons-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-share-copy,
.btn-share-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle, #cbd5e1);
  background: var(--bg-secondary, #f8fafc);
  color: var(--text-main, #0f172a);
  text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
}

[data-theme="dark"] .btn-share-copy,
[data-theme="dark"] .btn-share-social {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.btn-share-copy:hover {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
}

.btn-line {
  color: #06c755 !important;
  background: rgba(6, 199, 85, 0.1) !important;
  border-color: rgba(6, 199, 85, 0.3) !important;
}

.btn-line:hover {
  background: #06c755 !important;
  color: #ffffff !important;
}

.btn-fb {
  color: #1877f2 !important;
  background: rgba(24, 119, 242, 0.1) !important;
  border-color: rgba(24, 119, 242, 0.3) !important;
}

.btn-fb:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
}

.btn-x {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
}

.btn-x:hover {
  background: #0f172a !important;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-x:hover {
  background: #334155;
}

.copy-tooltip {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.copy-tooltip.show {
  opacity: 1;
}

.article-quick-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.article-quick-actions span {
  font-size: 12.5px;
  color: var(--text-muted, #64748b);
}

.article-quick-actions a {
  font-size: 12.5px;
  color: #0052cc;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 7px;
  background: rgba(0, 82, 204, 0.08);
  font-weight: 600;
  transition: background 0.15s ease;
}

[data-theme="dark"] .article-quick-actions a {
  color: #60a5fa;
  background: rgba(56, 189, 248, 0.12);
}

.article-quick-actions a:hover {
  background: rgba(0, 82, 204, 0.16);
}

/* Sidebar: Related News Widget */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(15, 35, 80, 0.05);
}

[data-theme="dark"] .sidebar-widget {
  background: #0b1630;
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  margin-bottom: 16px;
  color: var(--text-main, #0f172a);
}

[data-theme="dark"] .widget-head {
  color: #f8fafc;
}

.widget-head h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.widget-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-news-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.related-news-item:hover {
  transform: translateX(3px);
}

.related-thumb {
  width: 92px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #020617;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.related-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main, #0f172a);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme="dark"] .related-title {
  color: #f1f5f9;
}

.related-meta {
  font-size: 11px;
  color: var(--text-muted, #64748b);
}

.widget-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  text-align: center;
}

.btn-more-news {
  font-size: 13px;
  font-weight: 700;
  color: #0052cc;
  text-decoration: none;
}

[data-theme="dark"] .btn-more-news {
  color: #60a5fa;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .article-full-card {
    padding: 20px 16px 26px;
    border-radius: 14px;
  }

  .article-headline {
    font-size: 21px;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-content-body {
    font-size: 15px;
    gap: 16px;
  }

  .b24-breadcrumb li.active {
    max-width: 220px;
  }
}
