

/* General Styles for Layout */
.container1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.content {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
}

.content h1 {
  font-size: 24px;
  margin-bottom: 15px;
}

.content a.read-more {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* Mobile Styles for Image and Content Layout */
@media screen and (max-width: 768px) {
  .container1 {
    flex-direction: column;
    align-items: center;
    padding: 10px; /* Adjust padding for mobile */
  }

  .image-container {
    order: 1;  /* Image comes first on mobile */
    width: 100%;  /* Image takes full width */
    margin-bottom: 15px; /* Add space below the image */
  }

  .content {
    order: 2;  /* Content comes after the image */
    font-size: 16px;
    padding: 0 15px;
    text-align: center; /* Center the text for better alignment */
  }

  .content h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .image-container img {
    max-width: 100%; /* Ensure the image doesn't exceed container width */
    height: auto;
  }
}
