body {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .main-container {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      margin: 2rem auto;
      padding: 2rem;
      max-width: 1200px;
    }

    .blog-title {
      background: linear-gradient(135deg, #667eea, #764ba2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 800;
      font-size: clamp(2rem, 5vw, 3.5rem);
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
    }

    .blog-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(135deg, #667eea, #764ba2);
      border-radius: 2px;
    }

    .create-btn {
      background: linear-gradient(135deg, #667eea, #764ba2);
      border: none;
      color: white;
      padding: 15px 30px;
      border-radius: 50px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .create-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
      color: white;
    }

    .blog-card {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 20px;
      margin-bottom: 2rem;
      overflow: hidden;
      transition: all 0.4s ease;
      position: relative;
    }

    .blog-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(135deg, #667eea, #764ba2);
    }

    .blog-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    .blog-card-content {
      padding: 2rem;
    }

    .blog-card-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: #2d3748;
    }

    .blog-card-title a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }

    .blog-card-title a:hover {
      background: linear-gradient(135deg, #667eea, #764ba2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .blog-date {
      color: #718096;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .blog-image-container {
      position: relative;
      margin-bottom: 1.5rem;
      border-radius: 15px;
      overflow: hidden;
      width: 100%;
      height: 400px; /* Altura fija para todas las imágenes */
    }

    .blog-image {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Mantiene proporción y recorta si es necesario */
      object-position: center; /* Centra la imagen al recortar */
      transition: transform 0.4s ease;
    }

    /* Responsive para móviles */
    @media (max-width: 768px) {
      .blog-image-container {
        height: 200px; /* Altura más pequeña en móviles */
      }
    }

    @media (max-width: 480px) {
      .blog-image-container {
        height: 180px; /* Altura aún más pequeña en móviles pequeños */
      }
    }

    .blog-image:hover {
      transform: scale(1.05);
    }

    .blog-excerpt {
      color: #4a5568;
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-size: 1rem;
    }

    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .btn-modern {
      padding: 10px 20px;
      border-radius: 25px;
      border: none;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .btn-primary-modern {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .btn-primary-modern:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
      color: white;
    }

    .btn-warning-modern {
      background: linear-gradient(135deg, #f093fb, #f5576c);
      color: white;
      box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    }

    .btn-warning-modern:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
      color: white;
    }

    .btn-danger-modern {
      background: linear-gradient(135deg, #ff6b6b, #ee5a24);
      color: white;
      box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }

    .btn-danger-modern:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
      color: white;
    }

    .no-posts {
      text-align: center;
      padding: 4rem 2rem;
      color: #718096;
      font-size: 1.2rem;
    }

    .no-posts i {
      font-size: 4rem;
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    @media (max-width: 768px) {
      .main-container {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
      }

      .blog-card-content {
        padding: 1.5rem;
      }

      .btn-group {
        flex-direction: column;
        align-items: stretch;
      }

      .btn-modern {
        justify-content: center;
        width: 100%;
      }

      .blog-title {
        margin-bottom: 2rem;
      }
    }

    @media (max-width: 480px) {
      .main-container {
        margin: 0.5rem;
        padding: 1rem;
      }

      .blog-card-content {
        padding: 1rem;
      }

      .blog-card-title {
        font-size: 1.3rem;
      }
    }

    /* Animaciones personalizadas */
    @keyframes slideInFromBottom {
      0% {
        opacity: 0;
        transform: translateY(50px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .slide-in {
      animation: slideInFromBottom 0.8s ease forwards;
    }

    /* Efectos de glassmorphism mejorados */
    .glass-effect {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }