* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #c40000;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background-color: #fff0f0;
  padding: 40px;
  text-align: center;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.news-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px;
}

.news {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

.news h3 {
  color: #c40000;
  margin-bottom: 10px;
}

.news a {
  color: #c40000;
  text-decoration: none;
  font-weight: bold;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
.blog-post {
  max-width: 800px;
  margin: 80px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.post-title {
  font-size: 2em;
  margin-bottom: 10px;
  color: #cc0000;
}

.post-meta {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 20px;
}

.post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.post-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #222;
}
categories {
  background-color: #f9f9f9;
  padding: 20px;
  margin-top: 40px;
  border-top: 2px solid #ddd;
}

.categories h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style-type: none;
  padding: 0;
}

.categories li {
  background-color: #e74c3c;
  border-radius: 5px;
  padding: 10px 15px;
}

.categories a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.categories a:hover {
  text-decoration: underline;
}
.sidebar {
  grid-area: sidebar;
  background-color: #f4f4f4;
  padding: 20px;
}
.main-content {
  grid-area: main;
  background-color: #e8f0fe;
  padding: 20px;
}

.news-article {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  line-height: 1.6;
}

.news-article img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.news-article h2 {
  color: #b22222;
  margin-bottom: 5px;
}

.news-article .meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
}



