/* Background */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-image: url('../assets/blog.jpeg'); /* Replace with your custom image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #342E1D;
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

/* Wrapper */
.blog-wrapper {
  background-color: rgba(255, 255, 240, 0.95);
  backdrop-filter: blur(1.5px);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 900px;
  margin: 60px auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Header */
.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header h1 {
  font-size: 2.5rem;
  color: #A40865;
}

.blog-header p {
  font-size: 1.1rem;
  color: #3A1900;
}

.blog-header .submission-note {
  font-size: 1rem;
  color: #850001;
  margin-bottom: 20px;
}

/* Submit Button */
.submit-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #FFA500, #E45811);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.submit-button:hover {
  transform: scale(1.05);
}

/* Blog Grid */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Blog Card */
.blog-card {
  background: linear-gradient(to bottom right, #A0D468, #FFA500);
  color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-info {
  padding: 30px;
}

.card-info h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.card-info .byline {
  font-style: italic;
  font-size: 0.9rem;
  color: #f5f5f5;
  margin-bottom: 10px;
}

.card-info p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Back Button */
.back-buttons {
  text-align: center;
  margin-top: 40px;
}

.back-buttons a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #A40865, #E45811);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.back-buttons a:hover {
  transform: scale(1.05);
}
