body {
  background-color: #f4f6f9;
  font-family: 'Segoe UI', sans-serif;
}

.site-header,
.site-footer {
  background-color: #065091;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
}

.main-container {
  margin-top: 1rem;
}

.top-nav {
  background-color: #f8f9fa;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.9rem;
}

.top-nav a {
  margin-right: 1rem;
  color: #333;
  text-decoration: none;
}

.top-nav a:hover {
  text-decoration: underline;
}

.ticker,
.indices,
.movers,
.news,
.chart-section,
.search-section {
  margin-top: 1.5rem;
}

.card {
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border: none;
}

.market-summary h6 {
  margin: 0.5rem 0;
}

.ticker span {
  margin-right: 2rem;
  font-weight: normal;
}

.ticker .up {
  color: green;
}

.ticker .down {
  color: red;
}

table td,
table th {
  font-size: 0.9rem;
}

.subscribe-note {
  font-size: 0.85rem;
  text-align: left;
  margin-top: 0.5rem;
}

.subscribe-note a {
  text-decoration: none;
}

/* Article thumbnails */
.article-thumb {
  height: 180px;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: .25rem;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal article content: responsive tables */
#art-body .table-wrap {
  overflow-x: auto;
}

#art-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

#art-body th,
#art-body td {
  padding: .5rem;
  border: 1px solid #dee2e6;
  vertical-align: top;
}

#art-body thead th {
  background: #f8f9fa;
  font-weight: 600;
}

#art-body img,
#art-body .figure img {
  max-width: 100%;
  height: auto;
}
