:root {
  color-scheme: light;
  --ink: #1f2328;
  --muted: #667085;
  --surface: #f6f7f9;
  --line: #e4e7ec;
  --card: #ffffff;
  --accent: #2b6cb0;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #e7f0fc 0%, #f2f6fb 50%, #eaf5ef 100%);
}

.title-block h1 {
  margin: 0;
  font-size: 2rem;
}

main {
  padding: 32px 24px 64px;
}

.intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-status {
  min-height: 20px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #cbd5e1;
}

.card-body {
  padding: 16px 18px 20px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
