/* Günlük Rehber - Main CSS Stylesheet */

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-scroll {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker-scroll:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-right: 1px solid #e5e7eb;
}

.dark .ticker-item {
  border-right-color: #374151;
}

.ticker-item .label {
  color: #4b5563;
}
.dark .ticker-item .label {
  color: #9ca3af;
}

.ticker-item .change.up {
  color: #16a34a;
}
.ticker-item .change.down {
  color: #dc2626;
}

/* Article Summary Box (📌 ÖZET) */
.summary-box {
  background-color: #f8fafc;
  border-left: 4px solid #dc2626;
  padding: 1.25rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}
.dark .summary-box {
  background-color: #1f2937;
}

.summary-box h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark .summary-box h3 {
  color: #f3f4f6;
}

.summary-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}
.dark .summary-box p {
  color: #d1d5db;
}

/* Article rich content typography */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.dark .article-content h2 {
  color: #f3f4f6;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.25rem;
}
.dark .article-content p {
  color: #d1d5db;
}

.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.95rem;
}
.dark .article-content th,
.dark .article-content td {
  border-color: #374151;
}

.article-content th {
  background-color: #f3f4f6;
  font-weight: 700;
  color: #111827;
}
.dark .article-content th {
  background-color: #1f2937;
  color: #f3f4f6;
}
