/* site.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 30px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

main {
  padding: 20px;
}

.hero {
  background-image: url('hero-background.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 20px;
}

.btn {
  background-color: #333;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.featured-posts, .recent-posts {
  margin-top: 40px;
}

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

.post-card {
  border: 1px solid #ccc;
  padding: 20px;
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-item {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.post-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  float: left;
  margin-right: 20px;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.social-links a {
  color: #fff;
  margin: 0 10px;
}
