* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background-color: #0a0c0f;
    font-family: 'Inter', sans-serif;
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
  }

  /* fondos igual que landing para mantener coherencia visual */
  .bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 20% 30%, #0e2a1f, #030507 80%);
  }

  .grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
      linear-gradient(rgba(51, 153, 51, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(51, 153, 51, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }

  .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* navbar (misma identidad que landing) */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 32px;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(51, 153, 51, 0.25);
    margin-bottom: 36px;
  }

  .logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #B0FFB0, #339933);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .logo span {
    font-weight: 500;
    color: #7f8c8d;
    background: none;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
  }

  .nav-links a {
    color: #cddfe7;
    text-decoration: none;
    transition: 0.2s;
    font-size: 1rem;
  }

  .nav-links a:hover {
    color: #6fcf97;
  }

  .btn-outline {
    border: 1px solid #339933;
    background: transparent;
    padding: 8px 20px;
    border-radius: 100px;
    color: #ccffcc;
    font-weight: 600;
    transition: 0.25s;
  }

  .btn-outline:hover {
    background: rgba(51, 153, 51, 0.15);
    border-color: #5cff7e;
  }

  /* header del blog */
  .blog-header {
    text-align: center;
    margin: 20px 0 50px;
  }

  .blog-header .badge {
    background: rgba(51, 153, 51, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #b5ffb5;
    margin-bottom: 20px;
    border: 0.5px solid #2e6b2e;
  }

  .blog-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF, #a5f0a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
  }

  .blog-header p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    color: #bfddd5;
  }

  /* filtros / categorías sutiles */
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 48px;
  }

  .filter-chip {
    background: rgba(20, 30, 22, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid #2d4f2d;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #c8f0c8;
    transition: 0.2s;
    cursor: pointer;
  }

  .filter-chip.active, .filter-chip:hover {
    background: #339933;
    color: #0a140e;
    border-color: #339933;
    box-shadow: 0 5px 12px rgba(51, 153, 51, 0.3);
  }

  /* grid de artículos: 3 columnas elegantes */
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
  }

  /* tarjeta de post (estilo moderno, con vidrio y bordes verdes) */
  .post-card {
    background: rgba(12, 22, 16, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(51, 153, 51, 0.3);
    transition: transform 0.25s ease, border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .post-card:hover {
    transform: translateY(-6px);
    border-color: #339933;
    background: rgba(18, 30, 22, 0.8);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.5);
  }

  .post-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: 0.3s;
  }

  .post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #aaf0aa;
    border-left: 2px solid #339933;
    letter-spacing: 0.5px;
  }

  .post-content {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: #86a788;
    margin-bottom: 12px;
    align-items: center;
  }

  .post-meta i {
    margin-right: 4px;
    font-size: 0.7rem;
  }

  .post-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
  }

  .post-title a {
    color: #f0fff0;
    text-decoration: none;
    transition: color 0.2s;
  }

  .post-title a:hover {
    color: #7fe07f;
  }

  .post-excerpt {
    color: #c0dfd0;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 24px;
    flex-grow: 1;
  }

  .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6fcf97;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px dashed #3a784a;
    width: fit-content;
    transition: 0.2s;
  }

  .read-more:hover {
    color: #b5ffb5;
    gap: 12px;
    border-bottom-color: #6fcf97;
  }

  /* paginación elegante */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 70px;
  }

  .page-item {
    background: rgba(18, 28, 18, 0.7);
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 500;
    border: 1px solid #2c5a2c;
    transition: 0.2s;
    cursor: pointer;
    color: #cbebcb;
  }

  .page-item.active, .page-item:hover {
    background: #339933;
    border-color: #339933;
    color: #091007;
  }

  /* sidebar / newsletter opcional (coherente) */
  .sidebar-news {
    background: linear-gradient(145deg, #102d18, #051007);
    border-radius: 32px;
    padding: 28px 32px;
    margin: 0 0 60px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #2c6b2c;
  }

  .news-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .news-text p {
    color: #bbddbb;
  }

  .news-btn {
    background: #1f4f1f;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    color: white;
    transition: 0.2s;
    cursor: pointer;
  }

  .news-btn:hover {
    background: #2e7d32;
    transform: scale(1.02);
  }

  /* footer */
  .footer {
    border-top: 1px solid #1e3a2a;
    margin-top: 40px;
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: #7d9a7d;
  }

  .footer a {
    color: #9fdf9f;
    text-decoration: none;
  }

  /* responsive: tablets y móviles */
  @media (max-width: 1000px) {
    .posts-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
  }

  @media (max-width: 680px) {
    .posts-grid {
      grid-template-columns: 1fr;
    }
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
    .blog-header h1 {
      font-size: 2.2rem;
    }
    .sidebar-news {
      flex-direction: column;
      text-align: center;
    }
  }