@import url("global.css");
.banner {
    position: relative;
    width: 100%;
    height: 435px;
    background: url("../img/bannerNosotros.jpg") no-repeat center center/cover; /* Reemplaza con tu imagen */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

   .blog-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      padding: 20px;
      max-width: 1200px;
      margin: auto;
    }

    .card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .card-content {
      padding: 15px;
      flex: 1;
    }

    .category {
      display: inline-block;
      background: #21A59A;
      color: white;
      font-size: 0.8rem;
      padding: 5px 10px;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .date-time {
      font-size: 0.85rem;
      color: #777;
      margin: 5px 0;
    }

    .card h3 {
      font-size: 1.2rem;
      margin: 10px 0;
      color: #333;
    }

    .card p {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.4;
    }

    /* Paginación */
    .pagination {
      display: flex;
      justify-content: center;
      margin: 20px 0;
      gap: 10px;
      align-items: center;
    }

    .pagination button {
      background: none;
      border: none;
      color: #333;
      font-size: 1rem;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: 6px;
    }

    .pagination button.active {
      background: #21A59A;
      color: white;
      font-weight: bold;
    }

    .pagination button:hover {
      background: rgba(33,165,154,0.2);
    }