.mosaico-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px;
  }

  .mosaico-gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
  }

  .mosaico-gallery img:hover {
    transform: scale(1.05);
  }

  /* Modal */
  .mosaico-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }

  .mosaico-modal-content {
    max-width: 90%;
    max-height: 90%;
  }

  .mosaico-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .mosaico-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }

  .mosaico-close:hover {
    color: #ff4444;
  }