  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }

  body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f9fafb;
  }

  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
  }

  /* Header */
  .blog-header {
      background: white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      padding: 1rem 0;
      margin-bottom: 2rem;
  }

  .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: #559E42;
      text-decoration: none;
  }

  .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      margin: 0;
  }

  .nav-links a {
      color: #4a5568;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
  }

  .nav-links a:hover,
  .nav-links a.active {
      color: #559E42;
  }

  /* Main content */
  .main-content {
      padding: 2rem 0;
  }

  .page-header {
      text-align: center;
      margin-bottom: 3rem;
  }

  .page-header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #559E42;
      margin-bottom: 1rem;
  }

  .page-header p {
      font-size: 1.25rem;
      color: #6b7280;
      max-width: 600px;
      margin: 0 auto;
  }

  /* Layout */
  .blog-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
  }

  @media (min-width: 1024px) {
      .blog-layout {
          grid-template-columns: 2fr 1fr;
      }
  }

  /* Error message */
  .error {
      background: #fee2e2;
      border: 1px solid #fecaca;
      color: #dc2626;
      padding: 1rem;
      border-radius: 0.5rem;
      margin-bottom: 2rem;
  }

  /* Search form */
  .search-form {
      margin-bottom: 2rem;
  }

  .search-input {
      display: flex;
      gap: 0.5rem;
      max-width: 400px;
  }

  .search-input input {
      flex: 1;
      padding: 0.75rem 1rem;
      border: 1px solid #d1d5db;
      border-radius: 0.375rem;
      font-size: 1rem;
  }

  .search-input button {
      background: #559E42;
      color: white;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 0.375rem;
      font-weight: 500;
      cursor: pointer;
      transition: background-color 0.2s;
  }

  .search-input button:hover {
      background: #467a35;
  }

  /* Posts grid */
  .posts-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-bottom: 3rem;
  }

  @media (min-width: 640px) {
      .posts-grid {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media (min-width: 1200px) {
      .posts-grid {
          grid-template-columns: repeat(3, 1fr);
      }
  }

  /* Post card */
  .post-card {
      background: white;
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: all 0.2s;
      border-top: 3px solid #559E42;
      height: 100%;
      display: flex;
      flex-direction: column;
  }

  .post-card:hover {
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transform: translateY(-2px);
  }

  .post-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
  }

  .post-content {
      padding: 1.5rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
  }

  .post-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
  }

  .category-tag {
      font-size: 0.75rem;
      font-weight: 500;
      background: rgba(85, 158, 66, 0.1);
      color: #559E42;
      padding: 0.25rem 0.5rem;
      border-radius: 0.25rem;
      text-decoration: none;
      transition: background-color 0.2s;
  }

  .category-tag:hover {
      background: rgba(85, 158, 66, 0.2);
  }

  .post-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #1f2937;
  }

  .post-title a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s;
  }

  .post-title a:hover {
      color: #559E42;
  }

  .post-date {
      font-size: 0.875rem;
      color: #6b7280;
      margin-bottom: 1rem;
  }

  .post-excerpt {
      color: #4b5563;
      margin-bottom: 1.5rem;
      line-height: 1.6;
      flex-grow: 1;
  }

  .read-more {
      display: inline-block;
      background: #559E42;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 0.25rem;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.875rem;
      transition: all 0.2s;
      align-self: flex-start;
  }

  .read-more:hover {
      background: #467a35;
      transform: translateY(-1px);
  }

  /* Single post */
  .single-post {
      background: white;
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      padding: 2rem;
      margin-bottom: 2rem;
  }

  .single-post h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #559E42;
      margin-bottom: 1rem;
      line-height: 1.2;
  }

  .single-post .post-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;
      font-size: 0.875rem;
      color: #6b7280;
  }

  .single-post-image {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 0.5rem;
      margin-bottom: 2rem;
  }

  .single-post-content {
      font-size: 1.125rem;
      line-height: 1.8;
      color: #374151;
  }

  .single-post-content p {
      margin-bottom: 1.5rem;
  }

  .single-post-content h2 {
      font-size: 1.75rem;
      font-weight: 600;
      color: #559E42;
      margin-top: 2.5rem;
      margin-bottom: 1rem;
  }

  .single-post-content h3 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #467a35;
      margin-top: 2rem;
      margin-bottom: 0.75rem;
  }

  .single-post-content img {
      max-width: 100%;
      height: auto;
      border-radius: 0.5rem;
      margin: 1.5rem 0;
  }

  /* Sidebar */
  .sidebar {
      background: white;
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      padding: 1.5rem;
      height: fit-content;
      position: sticky;
      top: 2rem;
  }

  .sidebar h3 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #559E42;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid rgba(85, 158, 66, 0.1);
  }

  .category-list {
      list-style: none;
  }

  .category-list li {
      margin-bottom: 0.5rem;
  }

  .category-list a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0.75rem;
      border-radius: 0.375rem;
      text-decoration: none;
      color: #4b5563;
      transition: all 0.2s;
  }

  .category-list a:hover {
      background: #f3f4f6;
      color: #559E42;
  }

  .category-list a.active {
      background: rgba(85, 158, 66, 0.1);
      color: #559E42;
      font-weight: 500;
  }

  .category-count {
      font-size: 0.75rem;
      background: #e5e7eb;
      color: #6b7280;
      padding: 0.125rem 0.5rem;
      border-radius: 9999px;
  }

  /* Pagination */
  .pagination {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin: 2rem 0;
  }

  .pagination a,
  .pagination span {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 0.375rem;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s;
  }

  .pagination a {
      background: white;
      color: #4b5563;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .pagination a:hover {
      background: #f3f4f6;
      color: #559E42;
  }

  .pagination .current {
      background: #559E42;
      color: white;
  }

  /* No results */
  .no-results {
      text-align: center;
      padding: 3rem;
      background: white;
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .no-results h3 {
      font-size: 1.5rem;
      color: #6b7280;
      margin-bottom: 1rem;
  }

  .no-results p {
      color: #9ca3af;
  }

  /* Back link */
  .back-link {
      display: inline-flex;
      align-items: center;
      color: #559E42;
      text-decoration: none;
      font-weight: 500;
      margin-bottom: 2rem;
      transition: color 0.2s;
  }

  .back-link:hover {
      color: #467a35;
  }

  .back-link::before {
      content: "←";
      margin-right: 0.5rem;
  }

  /* Responsive */
  @media (max-width: 768px) {
      .container {
          padding: 0 1rem;
      }

      .page-header h1 {
          font-size: 2rem;
      }

      .single-post {
          padding: 1.5rem;
      }

      .single-post h1 {
          font-size: 2rem;
      }

      .nav-links {
          flex-direction: column;
          gap: 1rem;
      }

      .blog-layout {
          gap: 2rem;
      }

      .search-input {
          max-width: none;
      }
  }


  .single-post-content a {
      background: #61a84e;
      color: white;
      font-weight: bold;
      font-style: italic;
  }