﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Gloock&display=swap');

/*
 * Stylesheet for the blog section of the recreated website. The layout
 * features a simple header, navigation bar and list of articles. Each
 * article appears as a card with title, meta information, categories
 * and a short snippet. This is a lightweight approximation of the
 * original blog's aesthetic.
 */

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #ededed;
  margin: 0;
  padding: 0;
}

header {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

header h1 {
  margin: 0;
  font-family: 'Gloock', serif;
  font-size: 2rem;
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

main {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
}

article {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article h2 {
  margin-top: 0;
  font-family: 'Gloock', serif;
  font-size: 1.5rem;
}

article h2 a {
  color: #222;
  text-decoration: none;
}

article h2 a:hover {
  color: #3F51B5;
  text-decoration: underline;
}

.meta {
  font-size: 0.8em;
  color: #777;
  margin-bottom: 10px;
}

.categories {
  margin-bottom: 10px;
}

.categories span {
  background-color: #f0f0f0;
  color: #555;
  padding: 2px 6px;
  margin-right: 5px;
  border-radius: 3px;
  font-size: 0.75em;
  display: inline-block;
}

article p {
  margin-bottom: 10px;
}

article a.read-more {
  font-weight: 600;
  color: #3F51B5;
  text-decoration: none;
}

article a.read-more:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 20px 0;
}
