.blog-articles {
  width: 100%;
  max-width: 75%;
  margin: 80px auto; /* Add vertical spacing from other sections */
  padding: 40px 20px; /* Padding for inner content */
  border-radius: 10px;
  box-sizing: border-box;
}

.blog-articles h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
}

.calendar-events {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center; /* Ensure items are centered */
  padding-bottom: 40px; /* Space at the bottom */
}

.calendar-container {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
}

/* Styling for the event card */
.event-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 20px auto; /* Ensure spacing between event cards */
  width: 100%;
  max-width: 700px;
  transition: box-shadow 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.event-card-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

/* Content styling */
.event-card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.event-title {
  margin: 0;
  font-size: 1.2rem;
  color: #ff6f00;
}

.event-meta {
  font-size: 0.9rem;
  color: #777;
  margin: 5px 0;
}

.event-description {
  font-size: 1rem;
  color: #555;
  margin: 10px 0;
}

/* Read more link styling */
.read-more-link {
  align-self: flex-start;
  text-decoration: none;
  color: #ff6f00;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #ff4500;
}

/* See More Button Container */
.see-more-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.see-more-button {
  padding: 10px 20px;
  background-color: #ff6f00;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.see-more-button:hover {
  background-color: #ff4500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-articles {
    padding: 60px 20px; /* Increase padding for better spacing */
  }

  .event-card {
    flex-direction: column; /* Stack content vertically */
    align-items: flex-start;
    max-width: 90%; /* Limit width on smaller screens */
  }

  .event-card-image {
    width: 100%; /* Full width for image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Rounded corners at the top */
  }

  .event-card-content {
    width: 100%; /* Full width for content */
    text-align: center; /* Center align content */
  }
}

@media (max-width: 768px) {
  .blog-articles {
    padding: 40px 15px; /* Add extra vertical padding */
  }

  .event-card {
    max-width: 100%; /* Full width on small screens */
    margin: 30px auto; /* Ensure proper spacing */
  }

  .event-card-content {
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .event-title {
    font-size: 1rem; /* Adjust font size */
  }

  .event-description {
    font-size: 0.9rem; /* Adjust font size */
  }

  .see-more-button {
    font-size: 0.9rem; /* Smaller button text */
  }
}
