body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    text-align: justify;
  }
  
  .container.content-wrapper {
    width: 100%;
    padding: 50px 0; 
  }

  .newsletter-article {
    max-width: 900px;   
    margin: 0 auto 50px auto; 
    padding: 0 20px;   
    padding-top: 0px;
  }
  
  .newsletter-article .article-top-image {
    width: 100%;
    max-width: 900px;       /* same as your article width */
    margin: 0 auto 30px auto; /* center it, with bottom spacing */
    overflow: hidden;
    border-radius: 8px;      /* optional rounded corners */
    box-shadow: 0 6px 20px rgba(0,0,0,0.1); /* subtle shadow */
}

.newsletter-article .article-top-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* ensures it scales nicely */
    border-radius: inherit; /* match parent radius */
}

  .article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #111;
  }
  
  .article-date-location {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    text-align: left;
  }
  
  .article-paragraph {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 22px;
    color: #333;
    font-size: 17px;
}

  
  .article-paragraph a {
    color: #0073e6;
    font-weight: 600;
    text-decoration: none;
  }

  .article-paragraph a:hover {
    text-decoration: underline;
  }
  
  .green-text {
    color: #2e7d32;
    font-weight: 600;
  }

  .gallery {
    text-align: center;
    margin: 60px auto;
  }
  
  .carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px;
  }
  
  .carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
  }
  
  .carousel-item img {
    width: 500px;
    max-width: 90vw;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  }

  .carousel-item.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
  }

  .carousel-item.left1 {
    transform: translate(calc(-50% - 280px), -50%) scale(0.75);
    opacity: 0.9;
    z-index: 4;
  }
  .carousel-item.right1 {
    transform: translate(calc(-50% + 280px), -50%) scale(0.75);
    opacity: 0.9;
    z-index: 4;
  }

  .carousel-item.left2 {
    transform: translate(calc(-50% - 500px), -50%) scale(0.55);
    opacity: 0.6;
    z-index: 3;
  }
  .carousel-item.right2 {
    transform: translate(calc(-50% + 500px), -50%) scale(0.55);
    opacity: 0.6;
    z-index: 3;
  }

  .carousel-item.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    z-index: 1;
  }
  
  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 50px;          
    height: 50px;         
    border-radius: 50%;  
    display: flex;     
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
  }
  
  .nav:hover {
    background: rgba(0,0,0,0.8);
  }
  
  .prev { left: 10%; }
  .next { right: 10%; }

  @media (max-width: 768px) {
    .article-title {
      font-size: 24px;
    }
  
    .article-paragraph {
      font-size: 15px;
    }
  
    .gallery-grid {
      grid-template-columns: 1fr;
    }

    .news-carousel-wrapper {
      width: 100vw;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  
    .news-carousel {
      display: flex;
      width: max-content;
    }
  
    .news-carousel a {
      flex: 0 0 85%;
      pointer-events: auto;
    }
  
    .carousel-btn {
      display: none;
    }
  }
