/*
Theme Name: Sweden Insight
Author: Sweden Insight
Version: 1.0
*/

:root {
  --blue: #005293;
  --yellow: #fecb00;
  --text: #1f2933;
  --muted: #667085;
  --border: #e5e7eb;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: white;
}

.top-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--yellow) 70% 100%);
}

.header-inner,
.main-content,
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-title a {
  color: var(--text);
}

.main-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.main-menu a {
  color: var(--text);
  font-weight: 600;
}

.post-list {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.post-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.post-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.post-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.excerpt {
  font-size: 18px;
  max-width: 720px;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

.single-post h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.post-content {
  max-width: 760px;
  font-size: 19px;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .header-inner,
  .main-content,
  .site-footer {
    padding: 20px;
  }
}

.post-thumbnail {
  display: block;
  margin: 18px 0;
}

.post-thumbnail img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  border-radius: 6px;
}

.market-table {
  overflow-x: auto;
  margin: 24px 0;
}

.market-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.market-table th,
.market-table td {
  padding: 4px 8px;
  text-align: right;
  white-space: nowrap;
}

.market-table th:first-child,
.market-table td:first-child {
  text-align: left;
}