/* Global styles */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

/* Header/Footer navigation (optional future expansion) */
.site-header {
  background: linear-gradient(135deg, #4FACFE, #00F2FE);
  color: white;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.site-header nav {
  align-self: flex-end;
  margin-top: 1rem;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header .header-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header h1 {
  margin: 0;
  font-size: 2rem;
}

.site-footer {
  background-color: #f9f9fb;
  border-top: 1px solid #e0e0e0;
  color: #666;
  text-align: center;
  padding: 2rem 1rem;
}
.site-footer a {
  color: #0077cc;
}

.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header nav ul li a,
.site-footer nav ul li a {
  color: white;
  text-decoration: none;
}

.site-header nav ul li a:hover,
.site-footer nav ul li a:hover {
  text-decoration: none;
}

/* Blog list styles */
.blog-list {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem 6rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-list article {
  background: #f9f9fb;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.blog-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.blog-list img.thumbnail {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-list h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #222;
}

.blog-list p {
  margin-bottom: 0;
  color: #444;
}

.blog-list a {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.blog-meta {
  flex: 1;
}

/* Blog post layout */
main.blog-post {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

main.blog-post h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

main.blog-post h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

main.blog-post p {
  margin: 0.75rem 0;
}

main.blog-post ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

main.blog-post a {
  color: #0077cc;
  text-decoration: underline;
}

main.blog-post a:hover {
  text-decoration: none;
}
