.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em;
}

/* NAVBAR (breadcrumb style) */
.explorer-navbar {
    background-color: #eaeaea;
    padding: 0.5em 1em;
    font-family: monospace;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1em;
    overflow-x: auto;
    white-space: nowrap;
}

.explorer-path a {
    color: #0066cc;
    text-decoration: none;
    margin-right: 0.25em;
}

.explorer-path a:hover {
    text-decoration: underline;
}

/* EXPLORER WINDOW (grid of folders) */
.explorer-window {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 1em;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-height: 200px;
    justify-content: flex-start;
}

.explorer-item {
    width: 100px;
    text-align: center;
}

.explorer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.explorer-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.3em;
}

.explorer-label {
    font-size: 0.85em;
    font-family: monospace;
    word-break: break-word;
    text-align: center;
}
.image-viewer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
}

.image-box {
  background: #111;
  padding: 0.4em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  display: inline-block;
}

.image-viewer-image {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: white;
}

.image-caption {
  margin-top: 1em;
  font-size: 0.95em;
  color: #444;
  text-align: center;
}

.image-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  padding: 2em;
}

.image-box.small {
  width: 10cm; /* or 25% smaller than full view */
  max-width: 100%;
  background: #111;
  padding: 0.5em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.image-box.small img {
  max-width: 100%;
  height: auto;
  background: white;
  display: block;
}

.image-box.big {
  width: 50em; /* or 25% smaller than full view */
  max-width: 100%;
  background: #111;
  padding: 0.5em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

image-box.big img {
  max-width: 100%;
  height: auto;
  background: white;
  display: block;
}

.pawel-says {
  display: flex;
  align-items: flex-start;
  background: #f4f4f4;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1.5em auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pawel-avatar {
  max-width: 128px;
  height: auto;
  margin-right: 1em;
  border-radius: 8px;
}

.pawel-bubble {
  background: white;
  padding: 1em;
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  flex: 1;
  font-family: monospace;
}
@media (max-width: 600px) {
  .page-content {
    padding: 0 0.5em;
  }

  .pawel-says {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pawel-avatar {
    margin: 0 0 1em 0;
  }

  .pawel-bubble {
    font-size: 0.9em;
  }

  .explorer-item {
    width: 80px;
  }

  .explorer-label {
    font-size: 0.75em;
  }

  .image-box.small,
  .image-box.big {
    width: 100%;
    max-width: 100%;
  }

  .image-gallery-grid {
    padding: 1em;
    gap: 0.5em;
  }

  .image-caption {
    font-size: 0.85em;
  }

  .explorer-window {
    padding: 1em 0.5em;
    gap: 0.5em;
  }
}
