.main-content {
  max-width: 960px; /* Max width for main content */
  margin: 40px auto; /* Center and add vertical margin */
  padding: 0 20px; /* Add some horizontal padding */
}

.cover-container {
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  overflow: hidden; /* To contain the image */
}

.cover-image {
  display: block;
  width: 100%;
  height: 350px; /* Slightly increased height */
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.cover-title {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px; /* Added padding */
  font-size: 50px; /* Larger title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white; /* Ensure text is white */
}

.content section {
  margin-bottom: 30px;
  background-color: var(--light-bg);
  border-radius: 8px;
}

body > main > article > div > section:nth-child(1) > img,
body > main > article > div > section:last-child > img {
  display: none;
}

.content section h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: none;
}

.content section h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.content img {
  width: 100%;
  height: 350px; /* Slightly increased height */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  margin-top: 30px;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.body-ads-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 25px;
}

.body-ads-container .body-ad {
  flex: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .main-content {
    padding: 0 15px; /* Reduce horizontal padding */
  }

  .cover-image {
    height: 300px; /* Reduce cover image height */
  }

  .cover-title {
    font-size: 20px; /* Reduce title font size */
  }

  .content img {
    height: 250px; /* Reduce section image height */
  }
}

@media (max-width: 480px) {
  .cover-image {
    height: 250px;
  }

  .cover-title {
    font-size: 25px;
  }

  .content img {
    height: 200px;
  }

  .newsletter-section form input {
    padding: 10px;
  }

  .newsletter-section form button {
    padding: 10px 20px;
  }
}
