<style>
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Segoe UI', sans-serif;
    background: #fffefa;
    color: #333;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  header h1 a {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #2d8659, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
  }

  nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    flex-wrap: wrap;
  }

  nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #444;
    position: relative;
    padding: 6px 0;
  }

  nav ul li a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #4caf50;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
  }

  .menu-toggle span {
    height: 4px;
    width: 100%;
    background: #4caf50;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      align-items: center;
    }

    nav {
      display: none;
    }

    nav.active {
      display: flex;
    }

    .menu-toggle {
      display: flex;
    }
  }

  /* ===== Mobile View Fix for Article View Page ===== */
  @media screen and (max-width: 600px) {
    .article-content {
      padding: 10px;
      font-size: 14px;
      line-height: 1.6;
    }

    .article-content h1,
    .article-content h2,
    .article-content h3 {
      font-size: 18px;
    }

    .article-content img {
      max-width: 100%;
      height: auto;
    }

    .button {
      width: 100%;
      padding: 10px;
      font-size: 14px;
    }

    .card {
      width: 95% !important;
      margin: 10px auto;
      padding: 10px;
    }
  }
</style>
