    body {
      margin: 0;
      transition: background 0.4s ease, color 0.4s ease, font-family 0.4s ease;
      background: #ffffff;  
      color: #000000;
      font-family: Arial, sans-serif;
    }

    body.dark {
      background: #121212;  
      color: #e0e0e0;
      font-family: "Segoe UI", Verdana, sans-serif;
    }

    .image-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
}

.image-row img {
  width: 100%;
  border-radius: 8px;
  transition: 0.3s;
}

@media (max-width: 800px) {
  .image-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 100px;
    }

    #theme-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.3s;
      background: #ddd;
    }

    body.dark #theme-toggle {
      background: #333;
      color: #f5f5f5;
    }

    #theme-toggle svg {
      width: 20px;
      height: 20px;
    }


    main.blog-list.container {
      padding: 20px;
      transition: background 0.4s ease, color 0.4s ease, font-family 0.4s ease;
      background: #f9f9f9;

      max-width: 900px;   
      margin: 0 auto;    
      box-sizing: border-box;
    }

    body.dark main.blog-list.container {
      background: #1f1f1f;
    }

    article.post-card {
      margin-bottom: 25px;
      padding: 20px;
      border-radius: 8px;
      background: #ffffff;
      transition: background 0.4s ease, color 0.4s ease;
    }

    body.dark article.post-card {
      background: #2a2a2a; 
      color: #ddd;
    }


    body.dark article.post-card a {
      color: #66b3ff;
    }

    img.post-img {
      max-width: 100%;
      border-radius: 6px;
      margin-bottom: 12px;
    }

      .scroll-fade {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .scroll-fade.visible {
      opacity: 1;
      transform: translateY(0);
    }
    @media (max-width: 600px) {
  body {
    font-size: 18px;       
    line-height: 1.6;
  }

  #theme-toggle {
    font-size: 16px;
    padding: 12px 20px;
  }
}