.newsletter-hero {
    position: relative;
    height: 70vh;
    top: -80px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
    background: url('/images/newsletter.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .newsletter-heading {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: var(--font-heading);
    z-index: 2;
  }

  @media (max-width: 992px) {
    .newsletter-hero {
      height: 35vh;
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
    }
    .newsletter-heading {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 576px) {
    .newsletter-hero {
      height: 30vh;
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;
    }
    .newsletter-heading {
      font-size: 2rem;
    }
  }

  /* ===== FEATURED NEWSLETTER ===== */
  .newsletter-card {
    background: var(--blue-background-light);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    border: 1px solid #e3e3e3;
  }

  .newsletter-thumb {
    background: var(--blue-light);
    flex: 1;
  }

  .newsletter-content {
    flex: 1;
    border-left: 1px solid #eee;
  }

  .bg-warning-subtle {
    background-color: var(--bg-yellow-light) !important;
    color: var(--yellow-dark) !important;
  }

  @media (max-width: 768px) {
    .newsletter-card {
      flex-direction: column;
    }
    .newsletter-thumb {
      height: 200px;
    }
    .newsletter-content {
      border-left: none;
      border-top: 1px solid #eee;
    }
  }

  /* ===== GRID CARDS ===== */
  .newsletter-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e3e3e3 !important;
    transition: all 0.3s ease;
  }

  .newsletter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .newsletter-box img {
    object-fit: cover;
    height: 220px;
    border-radius: 16px 16px 0 0;
  }

  .date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-yellow-light);
    color: var(--yellow-dark);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.85rem;
  }

  .text-primary {
    color: var(--blue) !important;
  }

  /* ===== PAGINATION ===== */
  .pagination-container {
    text-align: center;
    margin-bottom: 8rem !important;
  }

  .page-link {
    border: none !important;
    color: var(--gray-dark);
    font-weight: 500;
    padding: 6px 12px;
    transition: all 0.3s ease;
  }

  .page-number.active {
    background-color: var(--off-white) !important;
    color: var(--blue-dark) !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-weight: bold;
  }

  .page-number {
    color: var(--text-secondary) !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
  }

  .page-number:hover {
    background-color: var(--blue-light) !important;
    color: var(--blue) !important;
    text-decoration: none;
  }

  .custom-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-dark) !important;
    padding: 6px 12px;
  }

  .custom-nav-link:hover {
    color: var(--blue-dark);
    text-decoration: none;
  }

  /* Animation for card hide/show */
  .fade-out {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }